Re: How to get the peer's IP address when writing failed

2015-08-28 Thread Nate McCall
Unfortunately, the addresses/DC of the replicas are not available on the exception hierarchy within Cassandra. Fwiw, the DS Java Driver (most native protocol drivers actually) manages membership dynamically by acting on cluster health events sent back over the channel by the native transport. Keep

How to get the peer's IP address when writing failed

2015-08-26 Thread Lu, Boying
Hi, All, We have an Cassandra environment with two connected DCs and our consistency level of writing operation is EACH_QUORUM. So if one DC is down, the write will be failed and we get TokenRangeOfflineException on the client side (we use netfilix java client libraries). We want to give more