On Mon, 2009-11-23 at 12:58 +0200, Richard Grossman wrote:
> 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 ?
Maybe you aren't connected?
You can launch the cli with -host and -port options, or you can
(re)connect once started with "connect <host>/<port>".
--
Eric Evans
eevans@rackspace.com
|