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

Ted Yu updated HBASE-10130:
---------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> TestSplitLogManager#testTaskResigned fails sometimes
> ----------------------------------------------------
>
>                 Key: HBASE-10130
>                 URL: https://issues.apache.org/jira/browse/HBASE-10130
>             Project: HBase
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>             Fix For: 0.99.0
>
>         Attachments: 10130-output.txt, 10130-v1.txt, 10130-v2.txt
>
>
> The test failed in 
> https://builds.apache.org/job/PreCommit-HBASE-Build/8131//testReport
> For testTaskResigned() :
> {code}
>     int version = ZKUtil.checkExists(zkw, tasknode);
>     // Could be small race here.
>     if (tot_mgr_resubmit.get() == 0) waitForCounter(tot_mgr_resubmit, 0, 1, 
> to/2);
> {code}
> There was no log similar to the following (corresponding to waitForCounter() 
> call above):
> {code}
> 2013-12-10 21:23:54,905 INFO  [main] hbase.Waiter(174): Waiting up to [3,200] 
> milli-secs(wait.for.ratio=[1])
> {code}
> Meaning, the version (2) retrieved corresponded to resubmitted task. version1 
> retrieved same value, leading to assertion failure.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to