"nodetool ring" to be graceful when getting ring ownerships fails
-----------------------------------------------------------------
Key: CASSANDRA-1925
URL: https://issues.apache.org/jira/browse/CASSANDRA-1925
Project: Cassandra
Issue Type: Improvement
Components: Tools
Affects Versions: 0.7.0 rc 3
Reporter: Mck SembWever
Assignee: Mck SembWever
Priority: Minor
When using a IPartitioner that doesn't support describeOwnership((List<Token>),
for example see ByteOrderedPartitioner, "nodetool ring" completely fails.
"nodetool ring" can instead report this failure via stderr and still print the
rest of the output it can out.
This patch provides the following (stdout) output when using a
ByteOrderedParitioner
$ ./nodetool ring -h localhost
Address Status State Load Owns Token
Token(bytes[fca66e9d8e6b1ca93340302470d6ed8c])
152.90.242.93 Up Normal 5.68 GB ?
Token(bytes[4985c50192edae33cc5b80fa66bae81f])
152.90.242.91 Up Normal 5.95 GB ?
Token(bytes[a8a20dff0e2b11e087a718a90540c600])
152.90.242.92 Up Normal 8.09 GB ?
Token(bytes[fca66e9d8e6b1ca93340302470d6ed8c])
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.