Hey Folks - I am burning the midnight oil fast but cant figure out what I
am doing wrong? log files has this. I have also listed both seed node and
node 2 partial configurations.
INFO [main] 2014-01-29 05:15:11,515 CommitLog.java (line 127) Log replay
complete, 46 replayed mutations
INFO [main] 2014-01-29 05:15:12,734 StorageService.java (line 490)
Cassandra version: 2.0.4
INFO [main] 2014-01-29 05:15:12,743 StorageService.java (line 491) Thrift
API version: 19.39.0
INFO [main] 2014-01-29 05:15:12,755 StorageService.java (line 492) CQL
supported versions: 2.0.0,3.1.3 (default: 3.1.3)
INFO [main] 2014-01-29 05:15:12,821 StorageService.java (line 515) Loading
persisted ring state
INFO [main] 2014-01-29 05:15:12,864 MessagingService.java (line 458)
Starting Messaging Service on port 7000
ERROR [main] 2014-01-29 05:15:43,890 CassandraDaemon.java (line 478)
Exception encountered during startup
java.lang.RuntimeException: Unable to gossip with any seeds
Seed node 1:
( cassandra.yml : I just have 2 node cluster and this is the seed node)
seed_provider:
# Addresses of hosts that are deemed contact points.
# Cassandra nodes use this list of hosts to find each other and learn
# the topology of the ring. You must change this if you are running
# multiple nodes!
- class_name: org.apache.cassandra.locator.SimpleSeedProvider
parameters:
# seeds is actually a comma-delimited list of addresses.
# Ex: "<ip1>,<ip2>,<ip3>"
- seeds: "127.0.0.1"
storage_port: 7000
ssl_storage_port: 7001
listen_address: 10.xxx.xxx.xxx ( Private IP of this node )
start_native_transport: true
native_transport_port: 9042
start_rpc: true
rpc_address: 0.0.0.0
rpc_port: 9160
rpc_keepalive: true
rpc_server_type: sync
Node 2:
seed_provider:
# Addresses of hosts that are deemed contact points.
# Cassandra nodes use this list of hosts to find each other and learn
# the topology of the ring. You must change this if you are running
# multiple nodes!
- class_name: org.apache.cassandra.locator.SimpleSeedProvider
parameters:
# seeds is actually a comma-delimited list of addresses.
# Ex: "<ip1>,<ip2>,<ip3>"
- seeds: "10.xxx.xxx.xxx" ---> private IP of seed node listed
above
storage_port: 7000
ssl_storage_port: 7001
listen_address: 10.xxx.xxx.xxx ---> private IP of this node
start_native_transport: true
native_transport_port: 9042
start_rpc: true
rpc_address: 0.0.0.0
rpc_port: 9160
rpc_keepalive: true
rpc_server_type: sync