cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "paul cannon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4350) cql cassandra version reporting is incorrect
Date Mon, 09 Jul 2012 23:31:36 GMT

    [ 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

        

Mime
View raw message