incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergio Bossa <sergio.bo...@gmail.com>
Subject Thrift API and SlicePredicate bug?
Date Thu, 13 Aug 2009 11:04:39 GMT
Hi guys,

the following (client) method call:

client.get_slice("Test1",
                    user_id,
                    new ColumnParent("CF1", null),
                    new SlicePredicate());

Gives me an obscure: "org.apache.thrift.TApplicationException:
Internal error processing get_slice"

However, the following works nice:

client.get_slice("Test1",
                    user_id,
                    new ColumnParent("CF1", null),
                    new
SlicePredicate(Arrays.asList("name".getBytes("UTF-8")), new
SliceRange()));

Is that an intended behavior?
If so, how do I get all columns? Shouldn't it provide a better error message?

Thanks for listening,
Cheers,

Sergio B.

-- 
Sergio Bossa
Software Passionate and Open Source Enthusiast.
URL: http://www.linkedin.com/in/sergiob

Mime
View raw message