incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiller, Dean" <Dean.Hil...@nrel.gov>
Subject Re: misreports on nodetool ring command on 1.1.4
Date Thu, 28 Feb 2013 04:57:20 GMT
I finally gave up as it was supposed to be creating SimpleStrategy by default but was creating
NTS by default so eventually I forced it to SimpleStrategy which did not have the issue. 
I never really figured out what was wrong there but my simpleStrategy correctly shows every
node owns 75% which is what I would expect for RF=3.

Thanks,
Dean

From: Tyler Hobbs <tyler@datastax.com<mailto:tyler@datastax.com>>
Reply-To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" <user@cassandra.apache.org<mailto:user@cassandra.apache.org>>
Date: Wednesday, February 27, 2013 5:58 PM
To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" <user@cassandra.apache.org<mailto:user@cassandra.apache.org>>
Subject: Re: misreports on nodetool ring command on 1.1.4

What are the replication settings for the keyspace you created? Perhaps you used NTS with
a bad DC name?


On Wed, Feb 27, 2013 at 7:50 AM, Hiller, Dean <Dean.Hiller@nrel.gov<mailto:Dean.Hiller@nrel.gov>>
wrote:
I just installed 1.1.4 as I need to test upgrade to 1.2.2.  I have an existing 6 node cluster
which shows 50% ownership on each node which makes sense since RF=3 on everything I have.

I brought up all 4 nodes in this cluster and ran nodetool ring and it shows every node with
25%.
Then, I create a keyspace and run again and it shows every node at 0%

Exact output was the following…..

[cassandra@sdi-prod-04 ~]$ nodetool ring
Note: Ownership information does not include topology, please specify a keyspace.
Address         DC          Rack        Status State   Load            Owns              
 Token
                                                                                         
 127605887595351923798765477786913079295
10.20.5.82      DC1         RAC1        Up     Normal  11.37 KB        25.00%            
 0
10.20.5.83      DC1         RAC1        Up     Normal  11.14 KB        25.00%            
 42535295865117307932921825928971026431
10.20.5.84      DC1         RAC1        Up     Normal  11.14 KB        25.00%            
 85070591730234615865843651857942052863
10.20.5.85      DC1         RAC1        Up     Normal  15.65 KB        25.00%            
 127605887595351923798765477786913079295

After I created the keyspace, ran it again….

[cassandra@sdi-prod-04 ~]$ nodetool ring
Address         DC          Rack        Status State   Load            Effective-Ownership
Token
                                                                                         
 127605887595351923798765477786913079295
10.20.5.82      DC1         RAC1        Up     Normal  15.95 KB        0.00%             
 0
10.20.5.83      DC1         RAC1        Up     Normal  15.73 KB        0.00%             
 42535295865117307932921825928971026431
10.20.5.84      DC1         RAC1        Up     Normal  15.73 KB        0.00%             
 85070591730234615865843651857942052863
10.20.5.85      DC1         RAC1        Up     Normal  20.24 KB        0.00%             
 127605887595351923798765477786913079295

Thanks,
Dean







--
Tyler Hobbs
DataStax<http://datastax.com/>

Mime
View raw message