Scylla JMX proxy
be8f1ac511
Currently scylla-jmx.service's PWD is "/", we get following error when JVM trying to write heap dump on current directory: Aug 17 05:52:15 localhost.localdomain scylla-jmx[3469]: Starting the JMX server Aug 17 05:52:16 localhost.localdomain scylla-jmx[3469]: java.lang.OutOfMemoryError: Java heap space Aug 17 05:52:16 localhost.localdomain scylla-jmx[3469]: Dumping heap to java_pid3469.hprof ... Aug 17 05:52:16 localhost.localdomain scylla-jmx[3469]: Unable to create java_pid3469.hprof: Permission denied To fix this, we need to specify WorkingDirectory on systemd unit. |
||
---|---|---|
.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