Scylla JMX proxy
Go to file
Amnon Heiman 30e3709669 FailureDetector: check that states is not null before use
When a node is part of a cluster but is down (like in the situation where
a cluster is taken down and up again but not all nodes are up). There is
no application_state information for that node.

This patch check that the information exists before using it to prevent
null pointer exception.

After this patch, a call to nodetool gossipinfo would return the
available information without failing.

See scylladb/scylla#3330

Signed-off-by: Amnon Heiman <amnon@scylladb.com>
Message-Id: <20180329115345.29357-1-amnon@scylladb.com>
(cherry picked from commit 4e4589ba6f)
2018-03-29 15:24:56 +03:00
dist dist/redhat: avoid hardcoding GPG key file path on scylla-jmx-epel-7-x86_64.cfg 2017-12-08 17:37:34 +02:00
scripts scripts: process empty string in arguments 2017-11-12 17:43:43 +02:00
src/main/java FailureDetector: check that states is not null before use 2018-03-29 15:24:56 +03: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 release: prepare for 2.1.1 2018-03-25 10:09: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 package

Running

To start the JMX server, run:

$ ./scripts/scylla-jmx

To get help on supported options:

$ ./scripts/scylla-jmx --help