hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitay Joffe (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-1596) Remove WatcherWrapper and have all users of ZooKeeperWrapper supply a Watcher.
Date Fri, 03 Jul 2009 00:51:47 GMT

     [ https://issues.apache.org/jira/browse/HBASE-1596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Nitay Joffe updated HBASE-1596:

    Attachment: hbase-1596.patch

This patch removes WatcherWrapper, forcing all users of ZooKeeperWrapper to pass in a Watcher
at construction time. This is to better force the users of the class to handle things like
session expired.

Currently the only user of ZooKeeperWrapper that doesn't pass in a Watcher is the Master.
This adds an empty one. There is a separate jira, HBASE-1575, to handle session expired on
the master. The rest (RegionServer, TableServers) are already passing in a watcher and handling
session expired.

> Remove WatcherWrapper and have all users of ZooKeeperWrapper supply a Watcher.
> ------------------------------------------------------------------------------
>                 Key: HBASE-1596
>                 URL: https://issues.apache.org/jira/browse/HBASE-1596
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: Nitay Joffe
>            Assignee: Nitay Joffe
>             Fix For: 0.20.0
>         Attachments: hbase-1596.patch
> We originally wrote a WatcherWrapper for our ZooKeeperWrapper which cuts through some
of the ZooKeeper interface so that we wouldn't have to supply Watchers everywhere. Now that
we're having to deal with things like Session Expired all over the place, this class should
no longer be used.

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

View raw message