cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Crain" <>
Subject error using get_range_slice with random partitioner
Date Thu, 05 Aug 2010 14:06:37 GMT

I'm on 0.6.4. Previous tickets in the JIRA in searching the web indicated that iterating over
the keys in keyspace is possible, even with the random partitioner. This is mostly desirable
in my case for testing purposes only.

I get the following error:

[junit] Internal error processing get_range_slices
[junit] org.apache.thrift.TApplicationException: Internal error processing get_range_slices

and the following server traceback:

java.lang.NumberFormatException: Zero length BigInteger
	at java.math.BigInteger.<init>(
	at java.math.BigInteger.<init>(
	at org.apache.cassandra.dht.RandomPartitioner$1.fromString(
	at org.apache.cassandra.thrift.CassandraServer.getRangeSlicesInternal(

I am using the scala cascal client, but am sure that get_range_slice is being called with
start and stop set to "".

1) Is batch iteration possible with random partioner?

This isn't clear from the FAQ entry on the subject:

2) The FAQ states that start argument should be "". What should the end argument be?


View raw message