I worked with cassandra without problems in the last hour, but now I can’t access the cassandra when I ran cqlsh, it gave me the following:
Connection error: Could not connect to localhost:9160
So, I tried this:
sudo service cassandra status
And that gave me the following:
xss = -ea -javaagent: /usr/share/cassandra/lib/jamm-0.2.5.jar -XX: + UseThreadPriorities - XX: ThreadPriorityPolicy = 42 -Xms1024M -Xmx1024M -Xmn200M -XX: + HeapDumpOnOutOfMemoryError
- failed to access pidfile for Cassandra
What can I do to solve this problem?
Thanks in advance,
source
share