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

stack updated HBASE-8535:
-------------------------

    Attachment: 8535.addendum.txt

Here is an addendum.

A few things.

+ This test as is takes too long; 4minutes down here on my laptop and that is 
with Eric's new suggested lower timeouts (incorporated).  I changed the number 
of cycles from 50 to 30.
+ We are closing zk connections so aggressively, the retries cuts in setting up 
the HTable instance with its expotential backouff.... I cut down the retries to 
3.  And added small pause of 10ms between trashing zk closes.
+ My "HBASE-8531 TestZooKeeper fails in trunk/0.95 builds" commit was missing 
an implementation of the get clusterid.. I add it back in here... it helps this 
test anyways.
+ Added logging and some comments around the test so its easier to understand 
why.



                
> Test for zk leak does not account for unsynchronized access to zk watcher
> -------------------------------------------------------------------------
>
>                 Key: HBASE-8535
>                 URL: https://issues.apache.org/jira/browse/HBASE-8535
>             Project: HBase
>          Issue Type: Test
>          Components: Client
>    Affects Versions: 0.98.0, 0.95.1
>            Reporter: Eric Yu
>            Assignee: stack
>             Fix For: 0.98.0, 0.95.1
>
>         Attachments: 8535.addendum.txt, HBASE-8535.patch
>
>
> Test can detect a live zk connection in a closed hconnection because it does 
> not accesses the zk watcher in a synchronized manner. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to