hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Antonov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-13904) TestAssignmentManager.testBalanceOnMasterFailoverScenarioWithOfflineNode failing consistently on branch-1.1
Date Mon, 15 Jun 2015 23:54:06 GMT

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

Mikhail Antonov updated HBASE-13904:
------------------------------------
    Attachment: HBASE-13904-branch-1.1.1.patch

Here's a oneliner fix which makes both decorate mocked connection calls to replace the connection
being used in the test, so in setUpMockedAssignmentManager we do the same as in processServerShutdownHandler.
Seems like easier fix. Tested that individual tests work.

Thoughts?

> TestAssignmentManager.testBalanceOnMasterFailoverScenarioWithOfflineNode failing consistently
on branch-1.1
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-13904
>                 URL: https://issues.apache.org/jira/browse/HBASE-13904
>             Project: HBase
>          Issue Type: Bug
>          Components: master, Region Assignment, test
>    Affects Versions: 1.1.1
>            Reporter: Nick Dimiduk
>            Assignee: Mikhail Antonov
>            Priority: Critical
>             Fix For: 1.1.1
>
>         Attachments: HBASE-13904-branch-1.1.1.patch, HBASE-13904-mantonov_running_whole_class.txt,
org.apache.hadoop.hbase.master.TestAssignmentManager-output.txt
>
>
> {noformat}
> $ JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.79.x86_64 ../apache-maven-3.3.3/bin/mvn
-PrunAllTests -DreuseForks=false clean install -Dmaven.test.redirectTestOutputToFile=true
-Dsurefire.rerunFailingTestsCount=4 -Dit.test=noItTest
> ...
> Tests in error:
> org.apache.hadoop.hbase.master.TestAssignmentManager.testBalanceOnMasterFailoverScenarioWithOfflineNode(org.apache.hadoop.hbase.master.TestAssignmentManager)
>   Run 1: TestAssignmentManager.testBalanceOnMasterFailoverScenarioWithOfflineNode:368
»
>   Run 2: TestAssignmentManager.testBalanceOnMasterFailoverScenarioWithOfflineNode:335
»
>   Run 3: TestAssignmentManager.testBalanceOnMasterFailoverScenarioWithOfflineNode:335
»
>   Run 4: TestAssignmentManager.testBalanceOnMasterFailoverScenarioWithOfflineNode:335
»
>   Run 5: TestAssignmentManager.testBalanceOnMasterFailoverScenarioWithOfflineNode:335
»
> {noformat}
> {noformat}
> -------------------------------------------------------------------------------
> Test set: org.apache.hadoop.hbase.master.TestAssignmentManager
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 393.384 sec <<<
FAILURE! - in org.apache.hadoop.hbase.master.TestAssignmentManager
> testBalanceOnMasterFailoverScenarioWithOfflineNode(org.apache.hadoop.hbase.master.TestAssignmentManager)
 Time elapsed: 57.873 sec  <<< ERROR!
> java.lang.Exception: test timed out after 60000 milliseconds
>         at java.lang.Thread.sleep(Native Method)
>         at org.apache.hadoop.hbase.master.TestAssignmentManager.testBalanceOnMasterFailoverScenarioWithOfflineNode(TestAssignmentManager.java:335)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message