[ 
https://issues.apache.org/jira/browse/HBASE-7177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498605#comment-13498605
 ] 

Lars Hofhansl edited comment on HBASE-7177 at 11/16/12 4:56 AM:
----------------------------------------------------------------

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 do not propagate in time)
                
      was (Author: lhofhansl):
    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

Reply via email to