hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Reiter <a.rei...@web.de>
Subject Re: HBase & MapReduce & Zookeeper
Date Wed, 20 Jul 2011 22:06:37 GMT
Hi Ted,
thanks for the reply,

at the moment i'm hust wondering, why the client creates a zookeeper connection at all
all the client has to do, is to schedule a MR job, which is done by connecting to the jobtracker
and to provide all the needed stuff, config, some extra resources in the distributed cache
etc...
but what is the reasen for creating a zookeeper connection by the client?

andre


Ted Yu wrote:
> This seems to be cdh related.
>
>>> either the map HConnectionManager.HBASE_INSTANCES does not contain the
> connection for the current config
> You need to pass the same conf object.
>
> In trunk, I added the following:
>    public static void deleteStaleConnection(HConnection connection) {
>
> See
> http://zhihongyu.blogspot.com/2011/04/managing-connections-in-hbase-090-and.html
>
> Last resort is:
>    public static void deleteAllConnections(boolean stopProxy) {
>
> Cheers
>


Mime
View raw message