Using Cassandra clients other then the basic Thrift client causes an
OoutOfMemory error
---------------------------------------------------------------------------------------
Key: AMDATU-265
URL: http://jira.amdatu.org/jira/browse/AMDATU-265
Project: Amdatu
Issue Type: Bug
Components: Amdatu Cassandra
Affects Versions: 0.1.0
Reporter: Ivo Ladage - van Doorn
Fix For: 0.1.0
Using a Cassandra client other then the basic Thrift client used by the Amdatu
Cassandra PM causes the same OOM:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at
org.apache.thrift.transport.TFramedTransport.readFrame(TFramedTransport.java:140)
at
org.apache.thrift.transport.TFramedTransport.read(TFramedTransport.java:101)
at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
at
org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:378)
at
org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:297)
at
org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:204)
at
org.apache.cassandra.thrift.Cassandra$Client.recv_describe_cluster_name(Cassandra.java:1062)
at
org.apache.cassandra.thrift.Cassandra$Client.describe_cluster_name(Cassandra.java:1048)
at org.apache.cassandra.cli.CliMain.connect(CliMain.java:154)
at org.apache.cassandra.cli.CliMain.main(CliMain.java:257)
I get this error using cassandra-cli as well as using the Hector API.
I tried starting Cassandra standalone and connecting to it with cassandra-cli;
this works.
I tried starting a Cassandra daemon from a stand along java app and connecting
to it with cassandra-cli; this works.
After changing a bit configuration in the java app to do it 'the amdatu way' I
get the same OOM
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira