[
https://issues.apache.org/jira/browse/CASSANDRA-4125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13415616#comment-13415616
]
Eric Evans commented on CASSANDRA-4125:
---------------------------------------
Adding a token column that is conditionally printed when num_tokens == 1
{noformat}
Datacenter: Greece
==================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
++ Address Load Tokens Owns Host ID
Token Rack
UN 222.222.222.221 999.9 KB 256 11.1%
2ed2bb57-5541-478e-be55-cf4a800fca87 0
rack1
UL 222.222.222.222 1 MB 256 11.1%
528d3b78-305d-4319-bedd-393927fedb48 886151997189943915269204706853563050
rack2
UN 222.222.222.222 999 MB 256 11.1%
78843aba-6131-4d00-b38c-306086c5dcc7 1772303994379887830538409413707126100
rack3
Datacenter: CostaRica
=====================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
++ Address Load Tokens Owns Host ID
Token Rack
UN 222.223.222.221 999.9 KB 256 11.1%
aed2bb57-5541-478e-be55-cf4a800fca87 9747671969089383067961251775389193550
rack11
UL 222.223.222.222 1 MB 256 11.1%
b28d3b78-305d-4319-bedd-393927fedb48 10633823966279326983230456482242756600
rack22
UN 222.223.222.222 999 MB 256 11.1%
c8843aba-6131-4d00-b38c-306086c5dcc7 11519975963469270898499661189096319650
rack33
Datacenter: BritishColumbia
===========================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
++ Address Load Tokens Owns Host ID
Token Rack
UN 222.224.222.221 999.9 KB 256 11.1%
ded2bb57-5541-478e-be55-cf4a800fca87 12406127960659214813768865895949882700
rack12
UL 222.224.222.222 1 MB 256 11.1%
e28d3b78-305d-4319-bedd-393927fedb48 13292279957849158729038070602803445750
rack22
UN 222.224.222.222 999 MB 256 11.1%
f8843aba-6131-4d00-b38c-306086c5dcc7 14178431955039102644307275309657008800
rack33
{noformat}
Not a huge fan of this myself.
> 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