Scylla JMX proxy
8073af6e06
This patch adds the compaction id in getCompactions if it returns by the API, if it's not the current behaviour will be used and it will return none. After this patch a call to nodetool compactionstats -H Will return: id compaction type keyspace table completed total unit progress c942bd30-7a62-11eb-84bc-576502584f9a COMPACTION keyspace1 standard1 1062 8576 keys 12.38% c9429620-7a62-11eb-8afb-576402584f9a COMPACTION keyspace1 standard1 972 8448 keys 11.51% Active compaction remaining time : 0h00m00s Fixes scylladb/scylla#7927 Signed-off-by: Amnon Heiman <amnon@scylladb.com> |
||
---|---|---|
.github | ||
dist | ||
reloc | ||
scripts | ||
scylla-apiclient | ||
scylla-jmx-parent | ||
src/main/java | ||
.gitignore | ||
git-archive-all-license.txt | ||
install-dependencies.sh | ||
install.sh | ||
LICENSE.AGPL | ||
NOTICE | ||
pom.xml | ||
README.md | ||
SCYLLA-VERSION-GEN |
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 --file scylla-jmx-parent/pom.xml package
Running
To start the JMX server, run:
$ ./scripts/scylla-jmx
To get help on supported options:
$ ./scripts/scylla-jmx --help