You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Anurag Gujral <an...@gmail.com> on 2011/03/25 14:47:41 UTC

weird cassandra issue

Hi All,
          I am using cassandra 0.7.3 and thrift 0.0.5 when I am trying to
write to cassandra using batch_mutate I get the following error:
InvalidRequestException(why:Key may not be empty)
        at
org.apache.cassandra.thrift.Cassandra$batch_mutate_result.read(Cassandra.java:16007)
        at
org.apache.cassandra.thrift.Cassandra$Client.recv_batch_mutate(Cassandra.java:894)
        at
org.apache.cassandra.thrift.Cassandra$Client.batch_mutate(Cassandra.java:868)
Please let me know if you guys know about it. I am passing the correct key
and it is not null.

Thanks
Anurag

Re: weird cassandra issue

Posted by Patricio Echagüe <pa...@gmail.com>.
could you paste the code that does that?

On Fri, Mar 25, 2011 at 6:47 AM, Anurag Gujral <an...@gmail.com>wrote:

> Hi All,
>           I am using cassandra 0.7.3 and thrift 0.0.5 when I am trying to
> write to cassandra using batch_mutate I get the following error:
> InvalidRequestException(why:Key may not be empty)
>         at
> org.apache.cassandra.thrift.Cassandra$batch_mutate_result.read(Cassandra.java:16007)
>         at
> org.apache.cassandra.thrift.Cassandra$Client.recv_batch_mutate(Cassandra.java:894)
>         at
> org.apache.cassandra.thrift.Cassandra$Client.batch_mutate(Cassandra.java:868)
> Please let me know if you guys know about it. I am passing the correct key
> and it is not null.
>
> Thanks
> Anurag
>