UnavailableException means "all the nodes that should have this data, are down."
On Thu, May 27, 2010 at 12:01 PM, Atul Gosain <atul.gos...@gmail.com> wrote: > Forgot to attach the class . > > On Thu, May 27, 2010 at 11:17 PM, Atul Gosain <atul.gos...@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 > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com