Hi All,

Is there any way to check whether Cassandra is up or not??
At the moment I have used following method to check for pool hosts and
verify Cassandra up or not.

Set knownPools = cluster.getKnownPoolHosts(false);

But this hector API method continuously retrying to connect with Cassandra
and prints logs in back end.

[2013-09-22 20:56:03,890]  INFO - {CassandraHostRetryService}  Downed Host
retry status false with host: localhost(127.0.0.1):9160
[2013-09-22 20:56:13,890]  INFO - {CassandraHostRetryService}  Not checking
that localhost(127.0.0.1):9160 is a member of the ring since there are no
live hosts
[2013-09-22 20:56:13,891]  WARN - {CassandraHostRetryService}  Downed
localhost(127.0.0.1):9160 host still appears to be down: Unable to open
transport to localhost(127.0.0.1):9160 , java.net.ConnectExceptio


Is there any way to avoid this retry? or Is there any other better approach
to check whether Cassandra is up or not?


Thanks,
Mohan

-- 
*V. Mohanadarshan*
*Software Engineer,*
*Data Technologies Team,*
*WSO2, Inc. http://wso2.com *
*lean.enterprise.middleware.*
*
*
email: [email protected]
phone:(+94) 771117673
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to