简体   繁体   中英

Issue with running cassandra ccm (cassandra cluster manager)

Issue with Installing cassandra cluster manager (ccm) and run it?

I tried both method:

Method 1:

  1. clone ccm from github, do the setup and run,
  2. ccm create --cassandra-version 1.2.2 --nodes 3 --start test

but node1, node2, node3 never starts. ccm status reports all node as 'DOWN'. When I try, ccm node1 ring, it complains of, Error: Could not find or load main class org.apache.cassandra.tools.NodeCmd.

Exactly same scenario when, in place of version, I install cassandra from source and in CASSANDRA_HOME directory, I do this, - ccm create --cassandra-dir=/xxxx/cassandra --nodes 4 --start test

Any clue? whats going on? I do have openjdk-7 installed

Issue was that my loopback on 127.0.0.2 and 127.0.0.3 was down and had to change the status from down to UP using ifconfig command. Once done, all nodes came back up using: ccm create --cassandra-version 1.2.2 --nodes 3 --start test

Optionally, you could start each node after creating them by using: - ccm node1 start - ccm node2 start - ccm node3 start

don't forget to check - ccm node1 ring - to check if all gossip channels are up and load is shared.

Thank you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM