Scylla JMX proxy
67dca4da9d
This patch adds a notification support for the repair in StorageService. When a repair command starts a timer is set to check the status of the repair, when the repair complets it sends notification for the successful or fail of the repair. Because jconsole doesn't run method with variable number of parameters an additional MBean method was added for async repair with only a keyspace as its parameter. All the forceAsycRepair methods are mapped to the asyncRepair metod that replaces them in 2.2, when options will be supported in the repair, it will be added to the jmx. After this patch it is possible to register in the jconsole for notification, perform a forceAsyncRepair and get the notification that the repair complets |
||
---|---|---|
src/main/java | ||
NOTICE | ||
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)