Pekka Enberg
8e0fb98fc4
Merge "Adding estimated histogram support for nodetool cfhistogram" from Amnon
"This series together with the cfhistogram series in scylla adds the missing functionality so that nodetoold cfhistogram would work. After both series will be apply an execution example is: ./bin/nodetool cfhistograms keyspace1 standard1 keyspace1/standard1 histograms Percentile SSTables Write Latency Read Latency Partition Size Cell Count (micros) (micros) (bytes) 50% 0.00 6866.00 4866323.00 310 5 75% 0.00 8239.00 10090808.00 310 5 95% 0.00 20501.00 17436917.00 310 5 98% 0.00 35425.00 25109160.00 310 5 99% 0.00 51012.00 25109160.00 310 5 Min 0.00 2300.00 654950.00 259 5 Max 0.00 20924300.00 25109160.00 310 5"
Urchin JMX Interface
This is the JMX interface for urchin.
Compile
To compile do:
mvn install
Run
The maven will create an uber-jar with all dependency under the target directory. You should run it with the remote jmx enable so the nodetool will be able to connect to it.
java -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=7199 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -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)
Description
Languages
Java
92.4%
Python
4.5%
Shell
3.1%