You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by kim young ill <kh...@googlemail.com> on 2012/08/20 00:58:24 UTC

detect zookeeper down

hi,
i'm using hbase  0.9.2 to store data with HTablePool. normally when the app
start i'd feed the hbas-client with addresses of zookeeper-ensemble.
if the zookeeper-host, to which the client is connecting to is down, hbase
client doesnt seem to be able to handle this cautomatically,
what should be the best approach to avoid data lost in this case ?
my first thought was wiring the zookeeper-exception into the htablepool to
update the hbase-client config, but from what i see in htablepool-api,  it
seems completly wrong.

any hints

thanx alot