[ https://issues.apache.org/jira/browse/CASSANDRA-13158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17039345#comment-17039345 ]
David Capwell commented on CASSANDRA-13158: ------------------------------------------- Thanks [~stefan.miklosovic] for the new stack trace! Yeah, that looks weird. I can only replicate it doing the following {code} $ ./bin/nodetool cleanup system_distributed $ JAVA_TOOL_OPTIONS='-Dcassandra.partitioner=mwhahaha' ./bin/nodetool cleanup system_distributed Picked up JAVA_TOOL_OPTIONS: -Dcassandra.partitioner=mwhahaha error: Invalid partitioner class org.apache.cassandra.dht.Murmur3Partitioner -- StackTrace -- org.apache.cassandra.exceptions.ConfigurationException: Invalid partitioner class org.apache.cassandra.dht.Murmur3Partitioner at org.apache.cassandra.config.DatabaseDescriptor.applyPartitioner(DatabaseDescriptor.java:1117) at org.apache.cassandra.config.DatabaseDescriptor.toolInitialization(DatabaseDescriptor.java:218) at org.apache.cassandra.config.DatabaseDescriptor.toolInitialization(DatabaseDescriptor.java:185) at org.apache.cassandra.tools.NodeProbe.checkJobs(NodeProbe.java:291) at org.apache.cassandra.tools.NodeProbe.forceKeyspaceCleanup(NodeProbe.java:298) at org.apache.cassandra.tools.nodetool.Cleanup.execute(Cleanup.java:55) at org.apache.cassandra.tools.NodeTool$NodeToolCmd.run(NodeTool.java:341) at org.apache.cassandra.tools.NodeTool$NodeToolCmd.accept(NodeTool.java:326) at org.apache.cassandra.tools.NodeTool$NodeToolCmd.accept(NodeTool.java:300) at org.apache.cassandra.tools.NodeTool.execute(NodeTool.java:237) at org.apache.cassandra.tools.NodeTool.main(NodeTool.java:84) {code} The other bad part is that the root exception is dropped it looks very misleading. > Nodetool cleanup throwing exception > ----------------------------------- > > Key: CASSANDRA-13158 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13158 > Project: Cassandra > Issue Type: Bug > Components: Tool/nodetool > Environment: Fedora 25 x86 > Reporter: Tomas Repik > Assignee: Eduard Tudenhoefner > Priority: Normal > Fix For: 4.0 > > > After running nodetool cleanup I get this exception: > error: Invalid partitioner class org.apache.cassandra.dht.Murmur3Partitioner > -- StackTrace -- > org.apache.cassandra.exceptions.ConfigurationException: Invalid partitioner > class org.apache.cassandra.dht.Murmur3Partitioner > at > org.apache.cassandra.config.DatabaseDescriptor.applyConfig(DatabaseDescriptor.java:383) > at > org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:125) > at > org.apache.cassandra.cql3.QueryProcessor.<clinit>(QueryProcessor.java:84) > at org.apache.cassandra.config.CFMetaData.compile(CFMetaData.java:411) > at > org.apache.cassandra.schema.SchemaKeyspace.compile(SchemaKeyspace.java:240) > at > org.apache.cassandra.schema.SchemaKeyspace.<clinit>(SchemaKeyspace.java:88) > at org.apache.cassandra.config.Schema.<init>(Schema.java:107) > at org.apache.cassandra.config.Schema.<clinit>(Schema.java:55) > at org.apache.cassandra.tools.nodetool.Cleanup.execute(Cleanup.java:50) > at > org.apache.cassandra.tools.NodeTool$NodeToolCmd.run(NodeTool.java:251) > at org.apache.cassandra.tools.NodeTool.main(NodeTool.java:165) -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org