[ 
https://issues.apache.org/jira/browse/HBASE-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696631#action_12696631
 ] 

Andrew Purtell edited comment on HBASE-1311 at 4/7/09 10:23 AM:
----------------------------------------------------------------

See attached hack of ZooKeeperWrapper to reinitialize the zookeeper handle and 
recreate ephemeral nodes. This works to address HBASE-1311 but the actions that 
run from watchers when they see the ephemeral znodes go away because of session 
expiration (as opposed to real process/node failures) lead to problems like 
HBASE-1314 and HBASE-1315. 

      was (Author: apurtell):
    See attached hack of ZooKeeperWrapper to reinitialize the zookeeper handle 
and recreate ephemeral nodes. This works to address HBASE-1311 but the actions 
that run from watchers when they see the ephemeral znodes go away lead to 
problems like HBASE-1314 and HBASE-1315. 
  
> ZooKeeperWrapper: Failed to set watcher on ZNode /hbase/master
> --------------------------------------------------------------
>
>                 Key: HBASE-1311
>                 URL: https://issues.apache.org/jira/browse/HBASE-1311
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: Andrew Purtell
>            Assignee: Nitay Joffe
>         Attachments: dumb-wrapper-hack.patch
>
>
> After about 12 hours of operation, this repeats over and over in the 
> regionserver log:
> 2009-04-05 19:44:38,445 WARN 
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to set watcher on 
> ZNode /hbase/master
> org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode 
> = Session expired
>       at org.apache.zookeeper.KeeperException.create(KeeperException.java:118)
>       at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:709)
>       at 
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.watchMasterAddress(ZooKeeperWrapper.java:235)
>       at 
> org.apache.hadoop.hbase.regionserver.HRegionServer.watchMasterAddress(HRegionServer.java:343)
>       at 
> org.apache.hadoop.hbase.regionserver.HRegionServer.process(HRegionServer.java:339)
>       at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:366)
> 2009-04-05 19:44:38,445 WARN 
> org.apache.hadoop.hbase.regionserver.HRegionServer: Unable to set watcher on 
> ZooKeeper master address. Retrying.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to