Description of problem: Executing most nodetool commands results in this error: $ nodetool status error: io.netty.util.concurrent.FastThreadLocal -- StackTrace -- java.lang.ClassNotFoundException: io.netty.util.concurrent.FastThreadLocal at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.apache.cassandra.tools.NodeTool.printHistory(NodeTool.java:196) at org.apache.cassandra.tools.NodeTool.main(NodeTool.java:164) Version-Release number of selected component (if applicable): cassandra-3.11.0-5.fc27.x86_64 How reproducible: Always Steps to Reproduce: 1. dnf install cassandra 2. nodetool status Actual results: ClassNotFoundException: io.netty.util.concurrent.FastThreadLocal Expected results: Output about the status of the node. Additional info: It looks like the nodetool script is just missing a dependency for netty. This diff fixes it: --- /usr/bin/nodetool 2017-11-02 09:54:10.000000000 -0600 +++ ./nodetool 2017-12-26 17:57:14.696779635 -0700 @@ -38,7 +38,7 @@ # The java classpath (required) CLASSPATH="$CASSANDRA_CONF" -DEPS=( airline cassandra/cassandra-all guava javax.inject slf4j/api jackson/jackson-mapper-asl jackson/jackson-core-asl logback/logback-classic logback/logback-core commons-lang3 high-scale-lib/high-scale-lib antlr3-runtime metrics concurrentlinkedhashmap-lru snakeyaml commons-codec ) +DEPS=( airline cassandra/cassandra-all guava javax.inject slf4j/api jackson/jackson-mapper-asl jackson/jackson-core-asl logback/logback-classic logback/logback-core commons-lang3 high-scale-lib/high-scale-lib antlr3-runtime metrics concurrentlinkedhashmap-lru snakeyaml commons-codec netty/netty-all ) for dep in "${DEPS[@]}"; do CLASSPATH="$CLASSPATH:`build-classpath $dep`"
It looks like this may be fixed in cassandra-3.11.0-6 which is still in testing.
On Fedora 28, it still looks like to miss some dependency. $ rpm -q cassandra cassandra-3.11.1-4.fc28.x86_64 $ nodetool nodetool: Required values for option 'port' not provided See 'nodetool help' or 'nodetool help <command>'. $ nodetool help error: com.google.common.base.Objects.firstNonNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; -- StackTrace -- java.lang.NoSuchMethodError: com.google.common.base.Objects.firstNonNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; at io.airlift.airline.GlobalUsageSummary$2.apply(GlobalUsageSummary.java:100) at io.airlift.airline.GlobalUsageSummary$2.apply(GlobalUsageSummary.java:97) at com.google.common.collect.Iterators$6.transform(Iterators.java:788) at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:47) at io.airlift.airline.UsagePrinter.appendTable(UsagePrinter.java:57) at io.airlift.airline.GlobalUsageSummary.usage(GlobalUsageSummary.java:96) at io.airlift.airline.GlobalUsageSummary.usage(GlobalUsageSummary.java:52) at io.airlift.airline.Help.help(Help.java:57) at io.airlift.airline.Help.help(Help.java:50) at io.airlift.airline.Help.run(Help.java:25) at org.apache.cassandra.tools.NodeTool.main(NodeTool.java:165)
cassandra-3.11.1-7.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-de2cc3b51c
cassandra-3.11.1-7.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-3e75b1b131
cassandra-3.11.1-7.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-3e75b1b131
cassandra-3.11.1-7.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-de2cc3b51c
cassandra-3.11.1-7.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
cassandra-3.11.1-7.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.