Scylla JMX proxy
Go to file
Amnon Heiman 8073af6e06 CompactionManager: add the compaction id when available
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>
2021-03-01 10:04:08 +02:00
.github Add Pekka as a "code owner" on GitHub (#85) 2019-11-14 02:18:33 -08:00
dist Merge 'dist/debian: fix renaming debian/scylla-* files rule' from Takuya ASADA 2021-02-18 10:34:29 +02:00
reloc Relocatable Package: create product prefixed relocatable archive 2020-10-15 17:10:21 +03:00
scripts reloc-pkg: move all files under project name directory 2020-06-03 09:53:11 +03:00
scylla-apiclient apiclient: Bump Jackson version to 2.10.4 2020-07-14 10:19:49 +03:00
scylla-jmx-parent make scylla-apiclient a separate module so the jar can be reused 2019-07-01 17:33:08 +02:00
src/main/java CompactionManager: add the compaction id when available 2021-03-01 10:04:08 +02:00
.gitignore add build/ to gitignore 2020-07-21 09:10:25 +03:00
LICENSE.AGPL Change license to AGPLv3 2015-09-22 13:33:24 +03:00
NOTICE Add a NOTICE file for the yammer library 2015-06-11 14:32:45 +03:00
README.md fix README for building instructions 2019-07-08 11:02:45 +02:00
SCYLLA-VERSION-GEN build: support passing product-version-release as a parameter 2020-09-23 12:57:50 +03:00
git-archive-all-license.txt dist: make ubuntu package as 'debian non-native package' 2015-11-25 19:43:38 +09:00
install-dependencies.sh reloc: add support relocatable package 2018-10-24 02:02:25 +00:00
install.sh install.sh: set a valid WorkingDirectory for nonroot offline install 2020-12-28 21:18:35 +02:00
pom.xml build(deps-dev): bump junit from 4.8.2 to 4.13.1 2020-10-15 14:22:38 +03:00

README.md

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