On Thu, Feb 9, 2017 at 6:13 AM, Srinath Reddy<ksreddy@xxxxxxxxx>wrote:
Hi,
Trying to re-balacne a Cassandra cluster after adding a new node and I'm getting this error when runningnodetool cleanup.The Cassandra cluster is running in a Kubernetes cluster.
Cassandra version is 2.2.8
nodetool cleanup
error: io.k8s.cassandra.KubernetesSeedProvider
Fatal configuration error; unable to start server. See log for stacktrace.
That is, nodetool needs to know concurrent_compactors setting's value before starting cleanup, but doesn't use JMX and tries to parse the configuration file instead. That fails because your custom SeedProvider class is not on classpath for nodetool.
Proper fix: get rid of the TODO and really query the value using JMX, especially since the latest tick-tock release of Cassandra (3.10) added a way to modify it with JMX.
--
Alex
Attachment:
signature.asc Description: Message signed with OpenPGP