Scylla JMX proxy
Go to file
Takuya ASADA be8f1ac511 dist/common/systemd: set WorkingDirectory to get heap dump correctly
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.
2020-08-17 09:54:38 +03:00
.github Add Pekka as a "code owner" on GitHub (#85) 2019-11-14 02:18:33 -08:00
dist dist/common/systemd: set WorkingDirectory to get heap dump correctly 2020-08-17 09:54:38 +03:00
reloc reloc: Add "--builddir" option to build_{rpm,deb}.sh 2020-07-18 12:16:31 +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 Added support for checkAndRepairCdcStreams command 2020-06-15 14:58:13 +03:00
.gitignore add build/ to gitignore 2020-07-21 09:10:25 +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: add dependency check and postinst script for manual install 2020-06-08 12:22:28 +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
pom.xml cleanup commented implicit steps in mvn 2019-07-08 10:04:24 +02:00
README.md fix README for building instructions 2019-07-08 11:02:45 +02:00
SCYLLA-VERSION-GEN dist: merge product name parameter on single place 2019-04-22 13:55:53 +03:00

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