Scylla JMX proxy
Go to file
Amnon Heiman f6f03172f1 scylla-jmx: Uses bash explicitly as the interpreter
ubuntu 14 default shell does not respect the string substituation and return an
error when using -Dcom.sun.management.jmxremote.host flag with
scyll-jmx.

For example:

$ scyll-jmx -Dcom.sun.management.jmxremote.host=10.0.0.1

/usr/lib/scylla/jmx/scylla-jmx: 101: /usr/lib/scylla/jmx/scylla-jmx: Bad substitution

This patch change the shell interpreter to bash, instead of the default shell.

Fixes #49

Signed-off-by: Amnon Heiman <amnon@scylladb.com>
Message-Id: <20180129131602.7380-1-amnon@scylladb.com>
2018-01-29 15:23:21 +02:00
dist dist/redhat: avoid hardcoding GPG key file path on scylla-jmx-epel-7-x86_64.cfg 2017-12-08 17:37:21 +02:00
scripts scylla-jmx: Uses bash explicitly as the interpreter 2018-01-29 15:23:21 +02:00
src/main/java fix auto_compaction request strings 2017-08-21 22:55:31 -04:00
git-archive-all-license.txt dist: make ubuntu package as 'debian non-native package' 2015-11-25 19:43:38 +09: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 Remove yammer/codehale dependencies and augumentations 2016-10-24 11:43:52 +00:00
README.md README update 2017-03-03 12:35:00 +02:00
SCYLLA-VERSION-GEN Fix SCYLLA-VERSION-GEN permissions 2016-11-09 11:07:29 +02: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 package

Running

To start the JMX server, run:

$ ./scripts/scylla-jmx

To get help on supported options:

$ ./scripts/scylla-jmx --help