cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject failover exception with hector
Date Wed, 17 Mar 2010 02:54:56 GMT
 hi folks,
	Just switched from C++ interface to hector, found an exception when testing with a 2-node

			Exception in thread "main" org.apache.thrift.TException: Unable to failover to next host
            at me.prettyprint.cassandra.service.KeyspaceImpl.skipToNextHost(
            at me.prettyprint.cassandra.service.KeyspaceImpl.operateWithFailover(
            at me.prettyprint.cassandra.service.KeyspaceImpl.insert(
            at me.prettyprint.cassandra.service.ExampleClient.insertFromDB(
            at me.prettyprint.cassandra.service.ExampleClient.main(

	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?

Cao Jiguang

View raw message