You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "David Allsopp (JIRA)" <ji...@apache.org> on 2011/07/21 15:05:58 UTC
[jira] [Created] (CASSANDRA-2931) Nodetool ring prints the same
token regardless of node queried
Nodetool ring prints the same token regardless of node queried
--------------------------------------------------------------
Key: CASSANDRA-2931
URL: https://issues.apache.org/jira/browse/CASSANDRA-2931
Project: Cassandra
Issue Type: Bug
Components: Tools
Affects Versions: 0.7.6
Reporter: David Allsopp
Priority: Trivial
I have a 3-node test cluster. Using {{nodetool ring}} for any of the nodes returns the _same_ token at the top of the list (113427455640312821154458202477256070484) - but presumably this should reflect the token _of the node I am querying_ (as specified using -h) ? Or if not, what does it mean?
{noformat}
[dna@dev6 ~]$ nodetool -h dev6 -p 8082 ring
Address Status State Load Owns Token
113427455640312821154458202477256070484
10.0.11.8 Up Normal 2.41 GB 33.33% 0
10.0.11.6 Up Normal 3.13 GB 33.33% 56713727820156410577229101238628035242
10.0.11.9 Up Normal 1.65 GB 33.33% 113427455640312821154458202477256070484
[dna@dev6 ~]$ nodetool -h dev8 -p 8082 ring
Address Status State Load Owns Token
113427455640312821154458202477256070484
10.0.11.8 Up Normal 2.41 GB 33.33% 0
10.0.11.6 Up Normal 3.13 GB 33.33% 56713727820156410577229101238628035242
10.0.11.9 Up Normal 1.65 GB 33.33% 113427455640312821154458202477256070484
[dna@dev6 ~]$ nodetool -h dev9 -p 8082 ring
Address Status State Load Owns Token
113427455640312821154458202477256070484
10.0.11.8 Up Normal 2.41 GB 33.33% 0
10.0.11.6 Up Normal 3.13 GB 33.33% 56713727820156410577229101238628035242
10.0.11.9 Up Normal 1.65 GB 33.33% 113427455640312821154458202477256070484
{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-2931) Nodetool ring prints the same
token regardless of node queried
Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sylvain Lebresne resolved CASSANDRA-2931.
-----------------------------------------
Resolution: Not A Problem
This is not what the first token means. The first is always the bigger assigned token. The fact that it is diplayed at the top is an artistic rendering supposed to explain that we have a ring. I.e, the first and last printed token are the same, suggesting some kind of continuity.
> Nodetool ring prints the same token regardless of node queried
> --------------------------------------------------------------
>
> Key: CASSANDRA-2931
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2931
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.7.6
> Reporter: David Allsopp
> Priority: Trivial
>
> I have a 3-node test cluster. Using {{nodetool ring}} for any of the nodes returns the _same_ token at the top of the list (113427455640312821154458202477256070484) - but presumably this should reflect the token _of the node I am querying_ (as specified using -h) ? Or if not, what does it mean?
> {noformat}
> [dna@dev6 ~]$ nodetool -h dev6 -p 8082 ring
> Address Status State Load Owns Token
> 113427455640312821154458202477256070484
> 10.0.11.8 Up Normal 2.41 GB 33.33% 0
> 10.0.11.6 Up Normal 3.13 GB 33.33% 56713727820156410577229101238628035242
> 10.0.11.9 Up Normal 1.65 GB 33.33% 113427455640312821154458202477256070484
> [dna@dev6 ~]$ nodetool -h dev8 -p 8082 ring
> Address Status State Load Owns Token
> 113427455640312821154458202477256070484
> 10.0.11.8 Up Normal 2.41 GB 33.33% 0
> 10.0.11.6 Up Normal 3.13 GB 33.33% 56713727820156410577229101238628035242
> 10.0.11.9 Up Normal 1.65 GB 33.33% 113427455640312821154458202477256070484
>
> [dna@dev6 ~]$ nodetool -h dev9 -p 8082 ring
> Address Status State Load Owns Token
> 113427455640312821154458202477256070484
> 10.0.11.8 Up Normal 2.41 GB 33.33% 0
> 10.0.11.6 Up Normal 3.13 GB 33.33% 56713727820156410577229101238628035242
> 10.0.11.9 Up Normal 1.65 GB 33.33% 113427455640312821154458202477256070484
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2931) Nodetool ring prints the same
token regardless of node queried
Posted by "David Allsopp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068980#comment-13068980 ]
David Allsopp commented on CASSANDRA-2931:
------------------------------------------
Thanks - I have edited http://wiki.apache.org/cassandra/NodeTool to spell this out, as most of the documentation I've seen uses the older format (with the ASCII ring arrows on the right).
> Nodetool ring prints the same token regardless of node queried
> --------------------------------------------------------------
>
> Key: CASSANDRA-2931
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2931
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.7.6
> Reporter: David Allsopp
> Priority: Trivial
>
> I have a 3-node test cluster. Using {{nodetool ring}} for any of the nodes returns the _same_ token at the top of the list (113427455640312821154458202477256070484) - but presumably this should reflect the token _of the node I am querying_ (as specified using -h) ? Or if not, what does it mean?
> {noformat}
> [dna@dev6 ~]$ nodetool -h dev6 -p 8082 ring
> Address Status State Load Owns Token
> 113427455640312821154458202477256070484
> 10.0.11.8 Up Normal 2.41 GB 33.33% 0
> 10.0.11.6 Up Normal 3.13 GB 33.33% 56713727820156410577229101238628035242
> 10.0.11.9 Up Normal 1.65 GB 33.33% 113427455640312821154458202477256070484
> [dna@dev6 ~]$ nodetool -h dev8 -p 8082 ring
> Address Status State Load Owns Token
> 113427455640312821154458202477256070484
> 10.0.11.8 Up Normal 2.41 GB 33.33% 0
> 10.0.11.6 Up Normal 3.13 GB 33.33% 56713727820156410577229101238628035242
> 10.0.11.9 Up Normal 1.65 GB 33.33% 113427455640312821154458202477256070484
>
> [dna@dev6 ~]$ nodetool -h dev9 -p 8082 ring
> Address Status State Load Owns Token
> 113427455640312821154458202477256070484
> 10.0.11.8 Up Normal 2.41 GB 33.33% 0
> 10.0.11.6 Up Normal 3.13 GB 33.33% 56713727820156410577229101238628035242
> 10.0.11.9 Up Normal 1.65 GB 33.33% 113427455640312821154458202477256070484
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira