cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Evans (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4125) Update nodetool for vnodes
Date Mon, 16 Jul 2012 19:22:34 GMT

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

Eric Evans commented on CASSANDRA-4125:
---------------------------------------

How about something like this?

{noformat}
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
++  Address          Load      Tokens  Owns   Host ID                               Rack
UN  222.222.222.221  999.9 KB  256     33.3%  2ed2bb57-5541-478e-be55-cf4a800fca87  rack1
UL  222.222.222.222  1 MB      256     33.3%  528d3b78-305d-4319-bedd-393927fedb48  rack2
UN  222.222.222.222  999 MB    256     33.3%  78843aba-6131-4d00-b38c-306086c5dcc7  rack3
{noformat}

With more than one datacenter:

{noformat}
Datacenter: Greece
==================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
++  Address          Load      Tokens  Owns   Host ID                               Rack
UN  222.222.222.221  999.9 KB  256     11.1%  2ed2bb57-5541-478e-be55-cf4a800fca87  rack1
UL  222.222.222.222  1 MB      256     11.1%  528d3b78-305d-4319-bedd-393927fedb48  rack2
UN  222.222.222.222  999 MB    256     11.1%  78843aba-6131-4d00-b38c-306086c5dcc7  rack3
 
Datacenter: CostaRica
=====================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
++  Address          Load      Tokens  Owns   Host ID                               Rack
UN  222.223.222.221  999.9 KB  256     11.1%  aed2bb57-5541-478e-be55-cf4a800fca87  rack11
UL  222.223.222.222  1 MB      256     11.1%  b28d3b78-305d-4319-bedd-393927fedb48  rack22
UN  222.223.222.222  999 MB    256     11.1%  c8843aba-6131-4d00-b38c-306086c5dcc7  rack33
 
Datacenter: BritishColumbia
===========================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
++  Address          Load      Tokens  Owns   Host ID                               Rack
UN  222.224.222.221  999.9 KB  256     11.1%  ded2bb57-5541-478e-be55-cf4a800fca87  rack12
UL  222.224.222.222  1 MB      256     11.1%  e28d3b78-305d-4319-bedd-393927fedb48  rack22
UN  222.224.222.222  999 MB    256     11.1%  f8843aba-6131-4d00-b38c-306086c5dcc7  rack33
{noformat}
                
> 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