Re: Nodetool ring not showing all nodes in cluster

2011-08-02 Thread Aishwarya Venkataraman
I finally solved this by using nodetool move and specifying token number explicitly. Thanks for all your help !! Cheers, Aishwarya On Tue, Aug 2, 2011 at 5:31 PM, aaron morton wrote: > initial_token is read from the yaml file once only, during bootstrap. It is > then stored in the LocationInf

Re: Nodetool ring not showing all nodes in cluster

2011-08-02 Thread aaron morton
initial_token is read from the yaml file once only, during bootstrap. It is then stored in the LocationInfo system CF and used from there. It sounds like when you did the move you deleted these files, but then started the nodes each with their own seed. So you created 3 separate clusters, when

Re: Nodetool ring not showing all nodes in cluster

2011-08-02 Thread Aishwarya Venkataraman
I corrected the seed list and checked the cluster name. They are all good now. But still nodetool -ring shows only one node. INFO 21:36:59,735 Starting Messaging Service on port 7000 INFO 21:36:59,748 Using saved token 113427455640312814857969558651062452224 Nodes a_ipadrr and b_ipaddr have th

Re: Nodetool ring not showing all nodes in cluster

2011-08-02 Thread Jonathan Ellis
Yes. Different cluster names could also cause this. On Tue, Aug 2, 2011 at 4:21 PM, Jeremiah Jordan wrote: > All of the nodes should have the same seedlist.  Don't use localhost as > one of the items in it if you have multiple nodes. > > On Tue, 2011-08-02 at 10:10 -0700, Aishwarya Venkataraman

Re: Nodetool ring not showing all nodes in cluster

2011-08-02 Thread Jeremiah Jordan
All of the nodes should have the same seedlist. Don't use localhost as one of the items in it if you have multiple nodes. On Tue, 2011-08-02 at 10:10 -0700, Aishwarya Venkataraman wrote: > Nodetool does not show me all the nodes. Assuming I have three nodes > A, B and C. The seedlist of A is loca

Re: Nodetool ring not showing all nodes in cluster

2011-08-02 Thread Aishwarya Venkataraman
On Tue, Aug 2, 2011 at 10:30 AM, Adi wrote: >>  The seedlist of A is localhost. >> >> Seedlist of B is localhost, A_ipaddr and >> >> seedlist of C is localhost,B_ipaddr,A_ipaddr. > > > Using localhost(or own IP address for non-seed nodes) is not a good > practice. > Try >> >>  The seedlist of A :

Re: Nodetool ring not showing all nodes in cluster

2011-08-02 Thread Adi
> > The seedlist of A is localhost. Seedlist of B is localhost, A_ipaddr and seedlist of C is localhost,B_ipaddr,A_ipaddr. > Using localhost(or own IP address for non-seed nodes) is not a good practice. Try > The seedlist of A : A_ipaddr. Seedlist of B : A_ipaddr seedlist of C : A_ipaddr

Re: Nodetool ring not showing all nodes in cluster

2011-08-02 Thread Aishwarya Venkataraman
Nodetool does not show me all the nodes. Assuming I have three nodes A, B and C. The seedlist of A is localhost. Seedlist of B is localhost, A_ipaddr and seedlist of C is localhost,B_ipaddr,A_ipaddr. I have autobootstrap set to false for all 3 nodes since they all have the correct data and do not

Re: Nodetool ring not showing all nodes in cluster

2011-08-02 Thread samal
"ERROR 08:53:47,678 Internal error processing batch_mutate >> java.lang.IllegalStateException: replication factor (3) exceeds number >> of endpoints (1)" >> > You already answered > "It always keeps showing only one node and mentions that it is handling > 100% of the load." > Cluster think only on

Re: Nodetool ring not showing all nodes in cluster

2011-08-02 Thread samal
> "ERROR 08:53:47,678 Internal error processing batch_mutate > java.lang.IllegalStateException: replication factor (3) exceeds number > of endpoints (1)" > You already answered "It always keeps showing only one node and mentions that it is handling 100% of the load." > On Tue, Aug 2, 2011 at 7:2

Re: Nodetool ring not showing all nodes in cluster

2011-08-02 Thread Aishwarya Venkataraman
Also I see these in the logs "ERROR 08:53:47,678 Internal error processing batch_mutate java.lang.IllegalStateException: replication factor (3) exceeds number of endpoints (1)" On Tue, Aug 2, 2011 at 7:21 AM, Aishwarya Venkataraman wrote: > Replies inline. > > Thanks, > Aishwarya > > On Tue, Aug

Re: Nodetool ring not showing all nodes in cluster

2011-08-02 Thread Aishwarya Venkataraman
Replies inline. Thanks, Aishwarya On Tue, Aug 2, 2011 at 7:12 AM, Sorin Julean wrote: > Hi, > >  Until someone answers  with more details, few questions: >  1. did you moved the system keyspace as well ? Yes. But I deleted the LocationInfo* files under the system folder. Shall I go ahead and del

Re: Nodetool ring not showing all nodes in cluster

2011-08-02 Thread Sorin Julean
Hi, Until someone answers with more details, few questions: 1. did you moved the system keyspace as well ? 2. the gossip IP of the new nodes are the same as the old ones ? 3. which cassandra version are you running ? If 1. is yes and 2. is no, for a quick fix: take down the cluster, remove s

Nodetool ring not showing all nodes in cluster

2011-08-02 Thread Aishwarya Venkataraman
Hello, I recently migrated 400 GB of data that was on a different cassandra cluster (3 node with RF= 3) to a new cluster. I have a 3 node cluster with replication factor set to three. When I run nodetool ring, it does not show me all the nodes in the cluster. It always keeps showing only one node