Pelops 1.3-1.0.x and iterating "beyond key"

25 views
Skip to first unread message

jao

unread,
Nov 25, 2011, 6:44:04 PM11/25/11
to Scale 7 - Libraries and systems for scalable computing
Hi,

I'm using Pelops 1.3-1.0.x with Cassandra 1.0.2. When i try to get a
row interator via iterateColumnsFromRows() specifying a beyondKey (my
cluster uses an OOP), i get an error from the server to the effect
that i must specify both a start and an end key (i'm pasting below the
stack trace).

So i wanted to ask: are "beyondKey iterators" supposed to work?

Thanks for any help,
jao

org.scale7.cassandra.pelops.exceptions.InvalidRequestException: start
key and end key must either both be non-null, or both be null
at org.scale7.cassandra.pelops.exceptions.IExceptionTranslator
$ExceptionTranslator.translate (IExceptionTranslator.java:47)
org.scale7.cassandra.pelops.Operand.tryOperation (Operand.java:
113)
org.scale7.cassandra.pelops.Operand.tryOperation (Operand.java:66)
org.scale7.cassandra.pelops.Selector.getKeySlices (Selector.java:
1764)
org.scale7.cassandra.pelops.Selector.getColumnsFromRows
(Selector.java:1821)
org.scale7.cassandra.pelops.Selector.getColumnsFromRows
(Selector.java:1571)
org.scale7.cassandra.pelops.ColumnRowIterator.fetchNextBatch
(ColumnRowIterator.java:41)
org.scale7.cassandra.pelops.RowIterator.fetchNextBatchInternal
(RowIterator.java:54)
org.scale7.cassandra.pelops.RowIterator.hasNext (RowIterator.java:
73)

jao

unread,
Nov 25, 2011, 6:53:49 PM11/25/11
to Scale 7 - Libraries and systems for scalable computing
Please ignore my previous post: i was passing a bogus value for the
beyondKey parameter.

Apologies for the noise!
jao

Reply all
Reply to author
Forward
0 new messages