[
https://issues.apache.org/jira/browse/HBASE-6447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack updated HBASE-6447:
-------------------------
Attachment: testzk.txt
Patch for 0.94 branch.
I disabled testMasterSessionExpired. It kills master session and at same time
tries to create a table and do some puts to it. Of course, this fails (First I
fixed the PleaseHoldException handling and then I got an IOE complaining about
zk error; i.e. session expired so could not set table enabling state up in zk).
My guess is this used to work when in old days, no state in zk regards
enabling/disabling meant enabling... but a while a go we changed this so a
table has enabled state up in zk on creation. Timing had this working most of
the time though it should have just failed.
The other test fail has us using a raw ZK rather than a recoverable ZK to do
some acl manipulations up in zk. The raw zk is used because recoverable
doesn't have acl setting support (is my guess -- we should probably add it but
this issue is about fixing tests). So, I added to the test what recoverableZK
does around the two calls that could fail: setACL and create.
When I run this patch locally, it passes all the time now.
> Common TestZooKeeper failures on jenkins: testMasterSessionExpired and
> testCreateSilentIsReallySilent
> -----------------------------------------------------------------------------------------------------
>
> Key: HBASE-6447
> URL: https://issues.apache.org/jira/browse/HBASE-6447
> Project: HBase
> Issue Type: Bug
> Components: test
> Affects Versions: 0.94.0, 0.96.0
> Reporter: stack
> Assignee: stack
> Attachments: testzk.txt
>
>
> Studying 0.94 failures of late, in the last 15 or so builds, TestZooKeeper
> has failed at least three times. Running it local, it fails 50% of the time:
> once with testCreateSilentIsReallySilent and then less frequently with
> testMasterExpiration.
--
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