incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Pope <>
Subject RE: Single node
Date Thu, 08 Dec 2011 19:17:45 GMT
Just solved it. I’m using localhost for the listen_address, for the rpc_address,
and for the seeds.


From: Vijay []
Sent: Thursday, December 08, 2011 2:15 PM
Subject: Re: Single node

You can add a DNS entry with multiple IP's or something like a elastic ip which will keep
switching between the active machines. or you can also write your custom seed provider class.
Not sure if you will get a quorum when there dev's are on vacation :)


On Thu, Dec 8, 2011 at 11:05 AM, Stephen Pope <<>>
Is there a way to set up a single node cluster without specifying anything about the specific
machine in cassandra.yaml? I’ve cleared the values from listen_address and rpc_address,
but it complains upon startup that no other nodes can be seen (presumably because the ip in
the seeds doesn’t match).

The reason I’m trying to do this is because we deploy cassandra on each developer’s machine,
and we’d like to be able to use our client across machines using the hostname. Ideally,
none of the developers would have to change the base config that gets deployed.

The default config file works as a single node cluster, but won’t let you talk to it across
machines (we’re using windows, in case it’s relevant).


View raw message