Hi,
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>(BigInteger.java:295)
at java.math.BigInteger.<init>(BigInteger.java:467)
at
org.apache.cassandra.dht.RandomPartitioner$1.fromString(RandomPartitioner.java:100)
at
org.apache.cassandra.thrift.CassandraServer.getRangeSlicesInternal(CassandraServer.java:575)
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:
http://wiki.apache.org/cassandra/FAQ#iter_world
2) The FAQ states that start argument should be "". What should the end
argument be?
thanks!
Adam