incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Exception in Cassandra-cli tool
Date Mon, 23 Nov 2009 13:46:05 GMT
Sounds like the server is using framed transport but the cli is not.

On Mon, Nov 23, 2009 at 4:58 AM, Richard Grossman <richiesgr@gmail.com> wrote:
> Hello
>
> Using the 0.4.2 last stable not from trunk. I get alway in cassandra-cli the
> following exception:
> cassandra> show keyspaces
> 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_get_string_list_property(Cassandra.java:532)
>     at
> org.apache.cassandra.service.Cassandra$Client.get_string_list_property(Cassandra.java:517)
>     at
> org.apache.cassandra.cli.CliClient.executeShowTables(CliClient.java:238)
>     at org.apache.cassandra.cli.CliClient.executeCLIStmt(CliClient.java:72)
>     at org.apache.cassandra.cli.CliMain.processCLIStmt(CliMain.java:103)
>     at org.apache.cassandra.cli.CliMain.main(CliMain.java:143)
>
> any idea what's going on ?
>
> thanks
>

Mime
View raw message