cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hafsteinn Baldvinsson (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-551) When you omit keyspace in the "show keyspace" command in the CLI your connection gets terminated
Date Fri, 13 Nov 2009 20:14:39 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hafsteinn Baldvinsson updated CASSANDRA-551:
--------------------------------------------

    Comment: was deleted

(was: The user gets an error and the connection isn't terminated.)

> When you omit keyspace in the "show keyspace" command in the CLI your connection gets
terminated
> ------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-551
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-551
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: Ubuntu, java 6
>            Reporter: Hafsteinn Baldvinsson
>            Priority: Minor
>         Attachments: CASSANDRA-551.patch
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> $ bin/cassandra-cli --host localhost --port 9160
> cassandra> describe keyspace          
> line 0:-1 mismatched input '<EOF>' expecting Identifier
> Exception Required field 'keyspace' was not present! Struct: describe_keyspace_args(keyspace:null)
> org.apache.thrift.protocol.TProtocolException: Required field 'keyspace' was not present!
Struct: describe_keyspace_args(keyspace:null)
> 	at org.apache.cassandra.service.Cassandra$describe_keyspace_args.validate(Cassandra.java:10723)
> 	at org.apache.cassandra.service.Cassandra$describe_keyspace_args.write(Cassandra.java:10692)
> 	at org.apache.cassandra.service.Cassandra$Client.send_describe_keyspace(Cassandra.java:558)
> 	at org.apache.cassandra.service.Cassandra$Client.describe_keyspace(Cassandra.java:549)
> 	at org.apache.cassandra.cli.CliClient.executeDescribeTable(CliClient.java:259)
> 	at org.apache.cassandra.cli.CliClient.executeCLIStmt(CliClient.java:75)
> 	at org.apache.cassandra.cli.CliMain.processCLIStmt(CliMain.java:108)
> 	at org.apache.cassandra.cli.CliMain.main(CliMain.java:148)
> cassandra> describe keyspace Keyspace1
> Exception Cannot read. Remote side has closed. Tried to read 4 bytes, but only got 0
bytes.
> org.apache.thrift.transport.TTransportException: Cannot read. Remote side has closed.
Tried to read 4 bytes, but only got 0 bytes.
> 	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
> 	at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:314)
> 	at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:262)
> 	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:192)
> 	at org.apache.cassandra.service.Cassandra$Client.recv_describe_keyspace(Cassandra.java:565)
> 	at org.apache.cassandra.service.Cassandra$Client.describe_keyspace(Cassandra.java:550)
> 	at org.apache.cassandra.cli.CliClient.executeDescribeTable(CliClient.java:259)
> 	at org.apache.cassandra.cli.CliClient.executeCLIStmt(CliClient.java:75)
> 	at org.apache.cassandra.cli.CliMain.processCLIStmt(CliMain.java:108)
> 	at org.apache.cassandra.cli.CliMain.main(CliMain.java:148)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message