Scylla JMX proxy
afac410a0d
This adds the following method implementation that are supported: getLiveNodes() getUnreachableNodes() getTokens() getTokens(String endpoint) getCommitLogLocation() getTokenToEndpointMap() After applying this series, those functionality will be available via jconsole The series also complete the API by adding an implementation based on the swagger storage_service.json definition. An implementation that will be added to the API should be reflected in the MBean. Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com> |
||
---|---|---|
src/main/java | ||
pom.xml | ||
README.md |
Urchin JMX Interface
This is the JMX interface for urchin.
Compile
To compile do:
mvn install
Run
The maven will copy relevant jars to your local directory and would set the classpath accordingly.
java -jar target/urchin-mbean-1.0.jar
Setting IP and Port
By default the the JMX would connect to a node on the localhost on port 10000.
The jmx API uses the system properties to set the IP address and Port. To change the ip address use the apiaddress property (e.g. -Dapiaddress=1.1.1.1) To change the port use the apiport (e.g. -Dapiport=10001)