You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jeremy Hanna (JIRA)" <ji...@apache.org> on 2012/06/17 04:32:42 UTC

[jira] [Created] (CASSANDRA-4350) cql cassandra version reporting is incorrect

Jeremy Hanna created CASSANDRA-4350:
---------------------------------------

             Summary: cql cassandra version reporting is incorrect
                 Key: CASSANDRA-4350
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4350
             Project: Cassandra
          Issue Type: Bug
            Reporter: Jeremy Hanna
            Priority: Minor


It looks like either the docs are wrong or the functionality is wrong.  The docs for show version say:
{quote}
Shows the version and build of the connected Cassandra instance, well as the versions of the CQL spec and the Thrift protocol that the connected Cassandra instance understands.
{quote}

On a cassandra node in the ring, I do nodetool -h localhost version and it outputs the correct version (1.0.8).  From a remote node with 1.0.9 installed, I run nodetool -h <same_node_in_ring> version.  It outputs the correct version.  However when I start cqlsh, it shows the remote node's version (1.0.9).  Also when I use the 'show version;' command in cqlsh, it also prints out 1.0.9.

So either the docs are incorrect and it just outputs the version of the local build or there's a bug in show version and the startup output and it should really show the version of the connected node.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CASSANDRA-4350) cql cassandra version reporting is incorrect

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

paul cannon reassigned CASSANDRA-4350:
--------------------------------------

    Assignee: paul cannon
    
> cql cassandra version reporting is incorrect
> --------------------------------------------
>
>                 Key: CASSANDRA-4350
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4350
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jeremy Hanna
>            Assignee: paul cannon
>            Priority: Minor
>              Labels: cql, cqlsh
>
> It looks like either the docs are wrong or the functionality is wrong.  The docs for show version say:
> {quote}
> Shows the version and build of the connected Cassandra instance, well as the versions of the CQL spec and the Thrift protocol that the connected Cassandra instance understands.
> {quote}
> On a cassandra node in the ring, I do nodetool -h localhost version and it outputs the correct version (1.0.8).  From a remote node with 1.0.9 installed, I run nodetool -h <same_node_in_ring> version.  It outputs the correct version.  However when I start cqlsh, it shows the remote node's version (1.0.9).  Also when I use the 'show version;' command in cqlsh, it also prints out 1.0.9.
> So either the docs are incorrect and it just outputs the version of the local build or there's a bug in show version and the startup output and it should really show the version of the connected node.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-4350) cql cassandra version reporting is incorrect

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

paul cannon commented on CASSANDRA-4350:
----------------------------------------

How are you starting cqlsh? Do you have anything in your ~/.cqlshrc file?

And do you get the right version number if you issue the following query in cqlsh:

{noformat}
select version from system.Versions where component = 'build';
{noformat}

or for cql3:
{noformat}
select version from system."Versions" where component = 'build';
{noformat}
                
> cql cassandra version reporting is incorrect
> --------------------------------------------
>
>                 Key: CASSANDRA-4350
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4350
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jeremy Hanna
>            Assignee: paul cannon
>            Priority: Minor
>              Labels: cql, cqlsh
>
> It looks like either the docs are wrong or the functionality is wrong.  The docs for show version say:
> {quote}
> Shows the version and build of the connected Cassandra instance, well as the versions of the CQL spec and the Thrift protocol that the connected Cassandra instance understands.
> {quote}
> On a cassandra node in the ring, I do nodetool -h localhost version and it outputs the correct version (1.0.8).  From a remote node with 1.0.9 installed, I run nodetool -h <same_node_in_ring> version.  It outputs the correct version.  However when I start cqlsh, it shows the remote node's version (1.0.9).  Also when I use the 'show version;' command in cqlsh, it also prints out 1.0.9.
> So either the docs are incorrect and it just outputs the version of the local build or there's a bug in show version and the startup output and it should really show the version of the connected node.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CASSANDRA-4350) cql cassandra version reporting is incorrect

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

Jeremy Hanna resolved CASSANDRA-4350.
-------------------------------------

    Resolution: Cannot Reproduce

I tried to reproduce with cassandra 1.0.10 as the cluster version and tried cqlsh from 1.0.8, 1.0.9, and 1.0.11.  All three when starting reported the correct version (1.0.10) of the instance it connected to.  Resolving this as cannot reproduce.
                
> cql cassandra version reporting is incorrect
> --------------------------------------------
>
>                 Key: CASSANDRA-4350
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4350
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jeremy Hanna
>            Assignee: paul cannon
>            Priority: Minor
>              Labels: cql, cqlsh
>
> It looks like either the docs are wrong or the functionality is wrong.  The docs for show version say:
> {quote}
> Shows the version and build of the connected Cassandra instance, well as the versions of the CQL spec and the Thrift protocol that the connected Cassandra instance understands.
> {quote}
> On a cassandra node in the ring, I do nodetool -h localhost version and it outputs the correct version (1.0.8).  From a remote node with 1.0.9 installed, I run nodetool -h <same_node_in_ring> version.  It outputs the correct version.  However when I start cqlsh, it shows the remote node's version (1.0.9).  Also when I use the 'show version;' command in cqlsh, it also prints out 1.0.9.
> So either the docs are incorrect and it just outputs the version of the local build or there's a bug in show version and the startup output and it should really show the version of the connected node.

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

[jira] [Updated] (CASSANDRA-4350) cql cassandra version reporting is incorrect

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

Jeremy Hanna updated CASSANDRA-4350:
------------------------------------

    Labels: cql cqlsh  (was: )
    
> cql cassandra version reporting is incorrect
> --------------------------------------------
>
>                 Key: CASSANDRA-4350
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4350
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jeremy Hanna
>            Priority: Minor
>              Labels: cql, cqlsh
>
> It looks like either the docs are wrong or the functionality is wrong.  The docs for show version say:
> {quote}
> Shows the version and build of the connected Cassandra instance, well as the versions of the CQL spec and the Thrift protocol that the connected Cassandra instance understands.
> {quote}
> On a cassandra node in the ring, I do nodetool -h localhost version and it outputs the correct version (1.0.8).  From a remote node with 1.0.9 installed, I run nodetool -h <same_node_in_ring> version.  It outputs the correct version.  However when I start cqlsh, it shows the remote node's version (1.0.9).  Also when I use the 'show version;' command in cqlsh, it also prints out 1.0.9.
> So either the docs are incorrect and it just outputs the version of the local build or there's a bug in show version and the startup output and it should really show the version of the connected node.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-4350) cql cassandra version reporting is incorrect

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

Jeremy Hanna commented on CASSANDRA-4350:
-----------------------------------------

also the docs should probably read
{quote}Shows the version and build of the connected Cassandra instance as well as the{quote}
instead of
{quote}Shows the version and build of the connected Cassandra instance, well as the{quote}
                
> cql cassandra version reporting is incorrect
> --------------------------------------------
>
>                 Key: CASSANDRA-4350
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4350
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jeremy Hanna
>            Priority: Minor
>              Labels: cql, cqlsh
>
> It looks like either the docs are wrong or the functionality is wrong.  The docs for show version say:
> {quote}
> Shows the version and build of the connected Cassandra instance, well as the versions of the CQL spec and the Thrift protocol that the connected Cassandra instance understands.
> {quote}
> On a cassandra node in the ring, I do nodetool -h localhost version and it outputs the correct version (1.0.8).  From a remote node with 1.0.9 installed, I run nodetool -h <same_node_in_ring> version.  It outputs the correct version.  However when I start cqlsh, it shows the remote node's version (1.0.9).  Also when I use the 'show version;' command in cqlsh, it also prints out 1.0.9.
> So either the docs are incorrect and it just outputs the version of the local build or there's a bug in show version and the startup output and it should really show the version of the connected node.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira