cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-4125) Update nodetool for vnodes
Date Wed, 11 Jul 2012 18:37:36 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-4125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411830#comment-13411830
] 

Brandon Williams edited comment on CASSANDRA-4125 at 7/11/12 6:36 PM:
----------------------------------------------------------------------

I think we may still have a problem with ownership calculation:

{{noformat}}

Address          Status  State    Load       Tokens  Owns (effective) Host ID
10.179.65.102    Up      Normal   197.82 MB  1       66.67%           e1c24ebd-e9c0-40eb-9419-e510d849c3e0
10.179.111.137   Up      Normal   197.95 MB  256     99.87%           c9a17642-35dd-4eb5-9881-9631a5590a40
10.179.64.227    Up      Normal   197.6 MB   1       33.46%           574f6677-d7a5-405a-9fb8-5c4d829f0a10
{{noformat}}

.137 has 256 tokens, but they should be contiguous (upgraded)
                
      was (Author: brandon.williams):
    I think we may still have a problem with ownership calculation:

{{noformat}}

Address          Status  State    Load       Tokens  Owns (effective) Host ID
10.179.65.102    Up      Normal   197.82 MB  1       66.67%           e1c24ebd-e9c0-40eb-9419-e510d849c3e0
10.179.111.137   Up      Normal   197.95 MB  256     99.87%           c9a17642-35dd-4eb5-9881-9631a5590a40
10.179.64.227    Up      Normal   197.6 MB   1       33.46%           574f6677-d7a5-405a-9fb8-5c4d829f0a10
{{noformat}

.137 has 256 tokens, but they should be contiguous (upgraded)
                  
> Update nodetool for vnodes
> --------------------------
>
>                 Key: CASSANDRA-4125
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4125
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: Core
>            Reporter: Sam Overton
>            Assignee: Eric Evans
>
> The proposed changes are intended to preserve backwards compatibility:
> || op || behaviour || deprecated warning?
> | join | Join the ring, use with {{-t}} to join at a specific token, or to add a token
to an existing host |
> | ring | prints the first token for each node, add {{-a}} to print all tokens |
> | move <new token> | if the node only has 1 token then move it. Otherwise die with
an error. | *deprecated*
> | removetoken status/force/<token> | removes the node who owns <token> from
the ring. use {{-t}} option to only remove the token from the node instead of the whole node.
|
> | describering [keyspace] | show all ranges and their endpoints |
> | getendpoints <keyspace> <cf> <key> | Print the endpoints that own
the key and also their list of tokens |
> _Edit0: Appended patch information._
> h3. Patches
> ||Compare||Raw diff||Description||
> |[01_admin_tools|https://github.com/acunu/cassandra/compare/top-bases/p/4125/01_admin_tools...p/4125/01_admin_tools]|[01_admin_tools.patch|https://github.com/acunu/cassandra/compare/top-bases/p/4125/01_admin_tools...p/4125/01_admin_tools.diff]|Updated
nodetool|
> ----
> _Note: These are branches managed with TopGit. If you are applying the patch output manually,
you will either need to filter the TopGit metadata files (i.e. {{wget -O - <url> | filterdiff
-x*.topdeps -x*.topmsg | patch -p1}}), or remove them afterward ({{rm .topmsg .topdeps}})._

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message