You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Patricio Echague (JIRA)" <ji...@apache.org> on 2011/06/24 01:26:47 UTC
[jira] [Commented] (CASSANDRA-2776) add ability to return
"endpoints" to nodetool
[ https://issues.apache.org/jira/browse/CASSANDRA-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13054173#comment-13054173 ]
Patricio Echague commented on CASSANDRA-2776:
---------------------------------------------
Also fixing missing "break" here [1] that is causing conflicts with "compaction_strategy" in CliClient.java
{code}
case ROW_CACHE_PROVIDER:
cfDef.setRow_cache_provider(mValue);
break;
case KEY_VALIDATION_CLASS:
cfDef.setKey_validation_class(CliUtils.unescapeSQLString(mValue));
//-> break ?
case COMPACTION_STRATEGY:
cfDef.setCompaction_strategy(CliUtils.unescapeSQLString(mValue));
break;
{code}
> 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
>
>
> - 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