[
https://issues.apache.org/jira/browse/HBASE-6354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Himanshu Vashishtha updated HBASE-6354:
---------------------------------------
Attachment: HBase6354-v1.patch
Attached is a patch with that approach. I tested it by running some
TestReplicationPeer class, which use the changed method.
> Wait till hard fail in case of erratic zookeeper session expiry
> ---------------------------------------------------------------
>
> Key: HBASE-6354
> URL: https://issues.apache.org/jira/browse/HBASE-6354
> Project: HBase
> Issue Type: Improvement
> Reporter: Himanshu Vashishtha
> Attachments: HBase6354-v1.patch
>
>
> There are number of tests that depends on zookeeper expire session
> (HBaseTestingUtility#expireSession). The current approach is to create
> handles on the existing sessions and call a close() on one of the handle. It
> closes all the handles associated with this session. This should work in
> theory but sometimes, it just doesn't work (don't know the root cause yet).
> We need to do some hacks ( such as in TestZookeeper#testClientSessionExpired).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira