[jira] [Commented] (CASSANDRA-2776) add ability to return endpoints to nodetool

2011-06-24 Thread Patricio Echague (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13054248#comment-13054248
 ] 

Patricio Echague commented on CASSANDRA-2776:
-

Sure. The new patch is available.

 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-2.txt


 - add nodetool endpoints 
 - take care of this FIXME:
   {code} 
 public ListInetAddress 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




[jira] [Commented] (CASSANDRA-2776) add ability to return endpoints to nodetool

2011-06-24 Thread Patricio Echague (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13054251#comment-13054251
 ] 

Patricio Echague commented on CASSANDRA-2776:
-

Also, this ticket fixes CASSANDRA-2353 

 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-2.txt


 - add nodetool endpoints 
 - take care of this FIXME:
   {code} 
 public ListInetAddress 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




[jira] [Commented] (CASSANDRA-2776) add ability to return endpoints to nodetool

2011-06-24 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=1305#comment-1305
 ] 

Hudson commented on CASSANDRA-2776:
---

Integrated in Cassandra-0.8 #189 (See 
[https://builds.apache.org/job/Cassandra-0.8/189/])
add nodetool endpoints
patch by Patricio Echague; reviewed by jbellis for CASSANDRA-2776

jbellis : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1139264
Files : 
* /cassandra/branches/cassandra-0.8/CHANGES.txt
* 
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/tools/NodeProbe.java
* 
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/StorageServiceMBean.java
* 
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/tools/NodeCmd.java
* 
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/StorageService.java


 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-2.txt


 - add nodetool endpoints 
 - take care of this FIXME:
   {code} 
 public ListInetAddress 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




[jira] [Commented] (CASSANDRA-2776) add ability to return endpoints to nodetool

2011-06-23 Thread Patricio Echague (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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 ListInetAddress 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




[jira] [Commented] (CASSANDRA-2776) add ability to return endpoints to nodetool

2011-06-23 Thread Patricio Echague (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13054196#comment-13054196
 ] 

Patricio Echague commented on CASSANDRA-2776:
-

Output generated:

{code}
 
  { 127.0.0.1, 127.0.0.2 , }

{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

 Attachments: CASSANDRA-2776-0.8.2-1.txt


 - add nodetool endpoints 
 - take care of this FIXME:
   {code} 
 public ListInetAddress 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




[jira] [Commented] (CASSANDRA-2776) add ability to return endpoints to nodetool

2011-06-23 Thread Jonathan Ellis (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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 ListInetAddress 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