cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Atul Gosain <atul.gos...@gmail.com>
Subject Re: Hector client usage
Date Thu, 27 May 2010 18:01:09 GMT
Forgot to attach the class .

On Thu, May 27, 2010 at 11:17 PM, Atul Gosain <atul.gosain@gmail.com> wrote:

> Hi
>
>   Im trying to use Hector client to insert and then read the data from
> cassandra. While im able to write the data and able to see that thru
> cassandra-client cli, im not able to read that from the program.
> Getting following error.  What am in doing wrong in my program. Can someone
> help me here ?
>
> 10/05/27 23:08:59 WARN service.FailoverOperator: Got a UnavailableException
> from localhost. Num of retries: 1
> 10/05/27 23:08:59 INFO service.FailoverOperator: Skipping to next host.
> Current host is: localhost
> 10/05/27 23:08:59 INFO service.FailoverOperator: Skipped host. New host is:
> localhost
> 10/05/27 23:08:59 WARN service.FailoverOperator: Got a UnavailableException
> from localhost. Num of retries: 0
> UnavailableException()
>     at
> org.apache.cassandra.thrift.Cassandra$get_slice_result.read(Cassandra.java:4881)
>     at
> org.apache.cassandra.thrift.Cassandra$Client.recv_get_slice(Cassandra.java:393)
>     at
> org.apache.cassandra.thrift.Cassandra$Client.get_slice(Cassandra.java:367)
>     at
> me.prettyprint.cassandra.service.KeyspaceImpl$7.execute(KeyspaceImpl.java:238)
>
> --
>
> Regards
> Atul
>



-- 

Regards
Atul

Mime
View raw message