chandan singh Bisht
chandan singh Bisht

Reputation: 21

Unnable to start cassandra using bin/cassandra -f

ERROR [main] 2018-03-09 08:15:25,174 CassandraDaemon.java:706 - Exception encountered during startup
java.lang.AbstractMethodError: org.apache.cassandra.utils.JMXServerUtils$Exporter.exportObject(Ljava/rmi/Remote;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;Lsun/misc/ObjectInputFilter;)Ljava/rmi/Remote;

Upvotes: 0

Views: 336

Answers (1)

Chaity
Chaity

Reputation: 1388

It could be the JDK version issue. Which Cassandra version you are using and which JDK version? For C* version less than 3.11.2, there was an upgrade in JDK to 8u162 which is incompatible.

A change to one of these, introduced in Oracle JDK 1.8.0_162 is incompatible, which means we cannot build using that JDK version .

Please check this below link:

https://issues.apache.org/jira/browse/CASSANDRA-14173

Upgrade you C* version to 3.11.2 to fix this issue or lower JDK version to JDK 1.8.0_152.

Related Links:

https://serverfault.com/questions/894687/error-when-starting-cassandra-for-first-time

Can't start Cassandra after OS patch up

Upvotes: 1

Related Questions