[
https://issues.apache.org/jira/browse/CASSANDRA-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13054209#comment-13054209
]
Jonathan Ellis commented on CASSANDRA-2776:
-------------------------------------------
Can we print
{noformat}
127.0.0.1
127.0.0.2
...
{noformat}
instead? that will make it easier to consume from other scripts.
> add ability to return "endpoints" to nodetool
> ----------------------------------------------
>
> Key: CASSANDRA-2776
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2776
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Reporter: Patricio Echague
> Assignee: Patricio Echague
> Priority: Minor
> Labels: nodetool, tools
> Fix For: 0.8.2
>
> Attachments: CASSANDRA-2776-0.8.2-1.txt
>
>
> - add "nodetool endpoints"
> - take care of this FIXME:
> {code}
> public List<InetAddress> getEndpoints(String keyspace, String key)
> {
> // FIXME: string key
> return ssProxy.getNaturalEndpoints(keyspace, key.getBytes(UTF_8));
> }
> {code}
> NOTE: Use the key type info we have now, to decode the key-as-string.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira