Netflix / CassJMeter

JMeter plugin to run cassandra tests.
Apache License 2.0
163 stars 66 forks source link

Error trying to Get a record from column family with Composite Key #12

Open MattSeese opened 11 years ago

MattSeese commented 11 years ago

When trying to Get a record using the "Cassandra Get" sampler, the following error is returned: "ERROR: com.netflix.jmeter.sampler.OperationException: com.netflix.astyanax.connectionpool.exceptions.BadRequestException: BadRequestException: [host=removed for privacy, latency=41(41), attempts=1] InvalidRequestException(why:Not enough bytes to read value of component 0) com.netflix.jmeter.connections.a6x.AstyanaxOperation.get(AstyanaxOperation.java:163) com.netflix.jmeter.sampler.GetSampler.execute(GetSampler.java:11) com.netflix.jmeter.sampler.AbstractSampler.sample(AbstractSampler.java:205) org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:426) org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255) java.lang.Thread.run(Thread.java:722)

The column family I am trying to read from has a composite primary key that uses three columns where the column data type for the key are int, timestamp, int.

If I try to use the Cassandra Composite Get, it returns a null pointer exception.