You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2012/11/16 05:46:12 UTC

[jira] [Commented] (HBASE-7177) TestZooKeeperScanPolicyObserver.testScanPolicyObserver is flaky

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

stack commented on HBASE-7177:
------------------------------

+1 on patch.  Could you just wait on the watcher triggering before proceeding?  Add that as a TODO when you commit?
                
> 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