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:47:58 UTC

[jira] [Commented] (CASSANDRA-2931) Nodetool ring prints the same token regardless of node queried

    [ 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