You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "HBase Review Board (JIRA)" <ji...@apache.org> on 2010/11/04 19:50:59 UTC
[jira] Commented: (HBASE-3095) Client needs to reconnect if it
expires its zk session
[ https://issues.apache.org/jira/browse/HBASE-3095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928305#action_12928305 ]
HBase Review Board commented on HBASE-3095:
-------------------------------------------
Message from: "Jean-Daniel Cryans" <jd...@apache.org>
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.cloudera.org/r/1167/
-----------------------------------------------------------
Review request for hbase.
Summary
-------
Changes ZKW to send the SessionExpiredException in the abort call so that clients can intercept it and reconnect to ZooKeeper by first clearing up their state and establishing a new connection.
This addresses bug HBASE-3095.
http://issues.apache.org/jira/browse/HBASE-3095
Diffs
-----
/trunk/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java 1030759
/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java 1030759
/trunk/src/test/java/org/apache/hadoop/hbase/TestZooKeeper.java 1030759
Diff: http://review.cloudera.org/r/1167/diff
Testing
-------
Adapted the client session expiration unit test.
Thanks,
Jean-Daniel
> Client needs to reconnect if it expires its zk session
> ------------------------------------------------------
>
> Key: HBASE-3095
> URL: https://issues.apache.org/jira/browse/HBASE-3095
> Project: HBase
> Issue Type: Bug
> Reporter: stack
> Assignee: Jean-Daniel Cryans
> Fix For: 0.90.0
>
>
> Clients use an HConnection down in their guts to connect to the hbase cluster. Master-is-running and root-region-location are up in zk. Setup of a new HConnection sets up a connection to ZooKeeper. If the session with ZK expires for whatever reason -- in tests they would expire because zk ensemble was restarted across tests or we might expire because of a long GC, well, it'll be frustrating to users if we do not just try and resetup the zk connection.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.