Scylla JMX proxy
Go to file
Amnon Heiman 67dca4da9d StorageService: Add notification suport for the repair command
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
2015-08-27 21:02:28 +03:00
src/main/java StorageService: Add notification suport for the repair command 2015-08-27 21:02:28 +03:00
NOTICE Add a NOTICE file for the yammer library 2015-06-11 14:32:45 +03:00
pom.xml Merge 'Adding JMX Metric support' 2015-06-17 15:10:30 +03:00
README.md Adding the JMX README file 2015-05-17 12:58:59 +03:00

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)