Examples: # scripts/scylla-jmx -l /usr/lib/scylla/jmx "" Result: script stuck # scripts/scylla-jmx "" -l /usr/lib/scylla/jmx Unknown parameter: /usr/lib/scylla/jmx Result: wrongly shift arguments Above two problem caused by a redundant argument parse ("$PARAM_PORT"), the variable isn't set, so it's a covert empty string. The others valid 9 options are all parsed with right case, and API_ADDR also be set by other case path, so it's safe to remove $PARAM_PORT. This patch removed the redundant argument, and skipped empty string in arguments. Signed-off-by: Amos Kong <amos@scylladb.com> Message-Id: <74c3f75d58bab1a8348f2c87f58825eed4c5b705.1510501133.git.amos@scylladb.com>
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
Description
Languages
Java
92.4%
Python
4.5%
Shell
3.1%