It stores them, but they are not as important as the token.

I.e. You can shutdown the node and bring it back on another ip and gossip with sort it out.

Aaron

On 28/04/2011, at 4:52 AM, Milind Parikh <milindparikh@gmail.com> wrote:

 
Most likely because in the wild, you can't assume a reliable DNS.
 
Just as an aside...This question comes up often in context of managing Cassandra clusters;especially in elastic situations. Most CMDBs assume a static name (host names/static IPs) for nodes. However this often proves to be mismatched against dynamic systems such as Cassandra; but of course not limited to it.
 
Regards
Milind

 
On Wed, Apr 27, 2011 at 9:37 AM, Sasha Dolgy <sdolgy@gmail.com> wrote:
Hi ,

Silly question maybe ... but came to me in the Ec2 thread.  Is there a
design reason why cassandra stores nodes as IP addresses and not
hostnames?

--
Sasha Dolgy
sasha.dolgy@gmail.com