hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Hbase API: HBaseAdmin.checkHBaseAvailable(config) keeps on attempting connection and throwing exception without ever returning back
Date Sat, 15 Mar 2014 15:52:59 GMT
bq. what happens is that it continues to throw zookeeper exception without
any end

Were you referring to ZooKeeperConnectionException or some other zookeeper
exception ?


On Sat, Mar 15, 2014 at 5:42 AM, sumitshrestha <rhs4shr@gmail.com> wrote:

> yeah. If the retry is only once and maybe it returns back within like half
> seconds of processing, it would be great. Right now i am running a parallel
> thread which sleeps for like 4 seconds waiting for the caller thread to
> notify if the response is back or that parallel thread does the job of
> killing the main thread and returning back. But, this is clearly bad as i
> have to waste memory resource due to this.
> --
> View this message in context:
> http://apache-hbase.679495.n3.nabble.com/Hbase-API-HBaseAdmin-checkHBaseAvailable-config-keeps-on-attempting-connection-and-throwing-exceptiok-tp4057062p4057112.html
> Sent from the HBase User mailing list archive at Nabble.com.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message