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/15 23:42:47 UTC

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

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
             Fix For: 0.8.1


- 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} 



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Patricio Echague (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patricio Echague updated CASSANDRA-2776:
----------------------------------------

    Attachment: CASSANDRA-2776-0.8.2-1.txt

> 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

        

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

Posted by "Patricio Echague (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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 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

        

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

Posted by "Patricio Echague (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Patricio Echague (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patricio Echague updated CASSANDRA-2776:
----------------------------------------

    Attachment: CASSANDRA-2776-0.8.2-2.txt

> 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 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

        

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

Posted by "Patricio Echague (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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 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

        

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

Posted by "Patricio Echague (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patricio Echague updated CASSANDRA-2776:
----------------------------------------

    Attachment:     (was: CASSANDRA-2776-0.8.2-1.txt)

> 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 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

        

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

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Patricio Echague (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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 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

        

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

Posted by "Patricio Echague (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patricio Echague updated CASSANDRA-2776:
----------------------------------------

    Description: 
- 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.


  was:
- 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} 




> 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.1
>
>
> - 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

        

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

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13054444#comment-13054444 ] 

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-SVN&view=rev&rev=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 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