[jira] [Updated] (HBASE-10130) TestSplitLogManager#testTaskResigned fails sometimes

2014-01-06 Thread Andrew Purtell (JIRA)

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

Andrew Purtell updated HBASE-10130:
---

Fix Version/s: 0.98.0

Committed test fix to 0.98 branch.

> 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.98.0, 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)


[jira] [Updated] (HBASE-10130) TestSplitLogManager#testTaskResigned fails sometimes

2014-01-06 Thread Ted Yu (JIRA)

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


[jira] [Updated] (HBASE-10130) TestSplitLogManager#testTaskResigned fails sometimes

2014-01-06 Thread Ted Yu (JIRA)

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

Ted Yu updated HBASE-10130:
---

Fix Version/s: 0.99.0
 Hadoop Flags: Reviewed

Integrated to trunk.

Thanks for the review, Jeff.

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


[jira] [Updated] (HBASE-10130) TestSplitLogManager#testTaskResigned fails sometimes

2014-01-06 Thread Ted Yu (JIRA)

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

Ted Yu updated HBASE-10130:
---

Attachment: 10130-v2.txt

Patch v2 addresses Jeff's comment.

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


[jira] [Updated] (HBASE-10130) TestSplitLogManager#testTaskResigned fails sometimes

2014-01-05 Thread Ted Yu (JIRA)

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

Ted Yu updated HBASE-10130:
---

Status: Patch Available  (was: Open)

> 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
> Attachments: 10130-output.txt, 10130-v1.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)


[jira] [Updated] (HBASE-10130) TestSplitLogManager#testTaskResigned fails sometimes

2014-01-05 Thread Ted Yu (JIRA)

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

Ted Yu updated HBASE-10130:
---

Attachment: 10130-v1.txt

> TestSplitLogManager#testTaskResigned fails sometimes
> 
>
> Key: HBASE-10130
> URL: https://issues.apache.org/jira/browse/HBASE-10130
> Project: HBase
>  Issue Type: Test
>Reporter: Ted Yu
>Priority: Minor
> Attachments: 10130-output.txt, 10130-v1.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)


[jira] [Updated] (HBASE-10130) TestSplitLogManager#testTaskResigned fails sometimes

2013-12-11 Thread Ted Yu (JIRA)

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

Ted Yu updated HBASE-10130:
---

Attachment: 10130-output.txt

Here is the test output for the failed test.

> TestSplitLogManager#testTaskResigned fails sometimes
> 
>
> Key: HBASE-10130
> URL: https://issues.apache.org/jira/browse/HBASE-10130
> Project: HBase
>  Issue Type: Test
>Reporter: Ted Yu
>Priority: Minor
> Attachments: 10130-output.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.4#6159)