I finally got it to work by putting the putting “127.0.0.1” in the list of seed IPs. Any
other address triggered the warning that Cassandra would not be auto-booted since it was listed
as a seed machine and the init process never happened. I am not sure of the impact of setting
it to this loopback address.
From: Wz1975 [mailto:wz1975@YAHOO.COM]
Sent: Sunday, November 11, 2012 2:44 PM
To: user@cassandra.apache.org
Subject: RE: Connecting to cassandra.
Importance: Low
For your testing, I think put your machine's ip should work.
Thanks.
-Wei
Sent from my Samsung smartphone on AT&T
-------- Original message --------
Subject: RE: Connecting to cassandra.
From: Kevin Burton <rkevinburton@charter.net>
To: user@cassandra.apache.org
CC:
Thank you in the output.log I see the line:
INFO 13:36:59,110 This node will not auto bootstrap because it is configured to be a seed
node.
Apparently I changed too much in the cassandra.yaml file. What should the ‘seed’ entry
be? From the comments it is a comma separated list of IP addresses. Should I just comment
this entry out? The comment is made that 0.0.0.0 is never correct.
# any class that implements the SeedProvider interface and has a
# constructor that takes a Map<String, String> of parameters will do.
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: "172.16.35.108"
What should I put? Do you think this is the problem why it is not starting up?
From: Wz1975 [mailto:wz1975@YAHOO.COM]
Sent: Saturday, November 10, 2012 9:07 PM
To: user@cassandra.apache.org
Subject: RE: Connecting to cassandra.
Importance: Low
The first thing to check is the log files under /var/log/cassandra, should give you some
hint.
Thanks.
-Wei
Sent from my Samsung smartphone on AT&T
-------- Original message --------
Subject: Connecting to cassandra.
From: Kevin Burton <rkevinburton@charter.net>
To: user@cassandra.apache.org
CC:
I have installed Cassandra on a Ubuntu Server but I fail to see it with either:
ps ax
or
netstat –an | grep 9160
I see a file /etc/init.d/cassandra so I am assuming that it should start up. What else do
I need to do? I have edited cassandra.yaml for all the places that specifically specify localhost
or 127.0.0.1 and change it to the IP address of the machine/server where it is running. I
am assuming that I have hit all the right configuration points. Ideas?
Thank you.
Kevin
|