hi folks, Just switched from C++ interface to hector, found an exception when testing with a 2-node cluster:
Exception in thread "main" org.apache.thrift.TException: Unable to failover to next host at me.prettyprint.cassandra.service.KeyspaceImpl.skipToNextHost(KeyspaceImpl.java:598) at me.prettyprint.cassandra.service.KeyspaceImpl.operateWithFailover(KeyspaceImpl.java:668) at me.prettyprint.cassandra.service.KeyspaceImpl.insert(KeyspaceImpl.java:270) at me.prettyprint.cassandra.service.ExampleClient.insertFromDB(ExampleClient.java:108) at me.prettyprint.cassandra.service.ExampleClient.main(ExampleClient.java:45) I was doing a lot of insertion. Probably inserting to 1 node wsa failed, and hector failed to find the other node. I'm using cassandra-0.5.0. In conf/storage-conf.xml, the ListenAddress is configured as the IP and ThriftAddress is left blank. Any ideas? cheers, Cao Jiguang -------------- casablinca126.com 2010-03-17