Scylla JMX proxy
c2fc96be71
This is a seemingly pointless change. The RW-lock code is 100% correct (afaict), yet we've seen repeated cases of test runs hanging in JMX query because this lock is seemingly left held by what seems to be the reaper task. There is no explanation for this, no sign of exceptions/errors that could explain the lock being broken. Nor any known JDK/JVM bugs. Yet, in tests, it seems that replacing the lock with a more coarse, yet proven, synchronized, fixes the issue. So there. I officially hate this patch, and it should not exist. |
||
---|---|---|
.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