You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Lyuben Todorov (JIRA)" <ji...@apache.org> on 2013/08/17 20:25:48 UTC

[jira] [Comment Edited] (CASSANDRA-5881) Need "describe cluster;" functionality in nodetool or cqlsh

    [ https://issues.apache.org/jira/browse/CASSANDRA-5881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13742982#comment-13742982 ] 

Lyuben Todorov edited comment on CASSANDRA-5881 at 8/17/13 6:24 PM:
--------------------------------------------------------------------

Added the command to nodetool (./nodetool describecluster [thrift_api_port] )as cqlsh already has a describe_cluster command. Mainly unhappy with how this works because if users aren't on the default thrift port (9160) then they will have to supply the port they are using. Alternative could be adding a flag to cqlsh's 'describe cluster' command and then execute a java call to a function that works the same way this patch does. The function of the flag would be to state that we want to get this info from all the nodes rather than retrieving it from the local node's system tables.
                
      was (Author: lyubent):
    Added the command to nodetool as cqlsh already has a describe_cluster command. Mainly unhappy with how this works because if users aren't on the default thrift port (9160) then they will have to supply the port they are using. Alternative could be adding a flag to cqlsh's 'describe cluster' command and then execute a java call to a function that works the same way this patch does. The function of the flag would be to state that we want to get this info from all the nodes rather than retrieving it from the local node's system tables.
                  
> Need "describe cluster;" functionality in nodetool or cqlsh
> -----------------------------------------------------------
>
>                 Key: CASSANDRA-5881
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5881
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Jeremiah Jordan
>            Assignee: Lyuben Todorov
>         Attachments: 5881_draft.patch
>
>
> In order to be able to completely get rid of cassandra-cli we still need something like "describe cluster;" callable from nodetool or cqlsh.  Describe cluster is different from just querying the system tables in cqlsh in that it actually contacts each node.  Having a command which does that is useful.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira