hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-7177) TestZooKeeperScanPolicyObserver.testScanPolicyObserver is flaky
Date Fri, 16 Nov 2012 04:40:12 GMT

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

Lars Hofhansl updated HBASE-7177:
---------------------------------

    Attachment: 7177.txt

Trivial fix:
Just wait a bit for the change the propagate.
(Waiting a fixed time is never ideal, but in this case it will dramatically lower the probability
that the changes have do not propagate in time)
                
> TestZooKeeperScanPolicyObserver.testScanPolicyObserver is flaky
> ---------------------------------------------------------------
>
>                 Key: HBASE-7177
>                 URL: https://issues.apache.org/jira/browse/HBASE-7177
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>             Fix For: 0.96.0, 0.94.4
>
>         Attachments: 7177.txt
>
>
> Yes, this is my own test :(
> Looking at the point where it fails frequently, it looks like the problem is just that
the ZK does not hit the (asynchronous) ZKWatcher in the PolicyObserver in time.

--
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

Mime
View raw message