Amnon Heiman
9dae28e2f0
ColumnFamilyStore: finishLocalSampling should respect count limit
When calling nodetool toppartitions with size limit, finishLocalSampling should respect that and limit the number of the results. Example: $ nodetool toppartitions -k 2 keyspace1 standard1 20 WRITES Sampler: Cardinality: ~2 (256 capacity) Top 2 partitions: Partition Count +/- 38333032394d4f4d5030 4 3 4e353937383137503330 4 3 READS Sampler: Cardinality: ~2 (256 capacity) Top 2 partitions: Nothing recorded during sampling period... Fixes #66 Signed-off-by: Amnon Heiman <amnon@scylladb.com>
Scylla JMX Server
Scylla JMX server implements the Apache Cassandra JMX interface for compatibility with tooling such as nodetool
. The JMX server uses Scylla's REST API to communicate with a Scylla server.
Compiling
To compile JMX server, run:
$ mvn package
Running
To start the JMX server, run:
$ ./scripts/scylla-jmx
To get help on supported options:
$ ./scripts/scylla-jmx --help
Description
Languages
Java
92.4%
Python
4.5%
Shell
3.1%