[
https://issues.apache.org/jira/browse/CASSANDRA-4550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447291#comment-13447291
]
Sylvain Lebresne commented on CASSANDRA-4550:
---------------------------------------------
I agree with Jonathan's backward compatibility argument here. Though I wouldn't
be opposed to adding a flag to nodetool to display token as hex if that is
useful to some.
> nodetool ring output should use hex not integers for tokens
> -----------------------------------------------------------
>
> Key: CASSANDRA-4550
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4550
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Environment: Linux
> Reporter: Aaron Turner
> Priority: Trivial
> Labels: lhf
>
> The current output of nodetool ring prints start token values as base10
> integers instead of hex. This is not very user friendly for a number of
> reasons:
> 1. Hides the fact that the values are 128bit
> 2. Values are not of a consistent length, while in hex padding with zero is
> generally accepted
> 3. When using the default random partitioner, having the values in hex makes
> it easier for users to determine which node(s) a given key resides on since
> md5 utilities like md5sum output hex.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira