[
https://issues.apache.org/jira/browse/HBASE-24118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17100936#comment-17100936
]
Michael Stack commented on HBASE-24118:
---------------------------------------
Having trouble reproducing this failure. Applied below:
{code}
diff --git
a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/assignment/TestCloseRegionWhileRSCrash.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/assignment/TestCloseRegionWhileRSCrash.java
index 4761991e75..3d3901f520 100644
---
a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/assignment/TestCloseRegionWhileRSCrash.java
+++
b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/assignment/TestCloseRegionWhileRSCrash.java
@@ -163,7 +163,8 @@ public class TestCloseRegionWhileRSCrash {
UTIL.shutdownMiniCluster();
}
- @org.junit.Ignore @Test // Until root-cause of flakeyness, HBASE-24117, is
addressed.
+ @Test
+ // @org.junit.Ignore @Test // Until root-cause of flakeyness, HBASE-24117,
is addressed.
public void testRetryBackoff() throws IOException, InterruptedException {
HRegionServer srcRs = UTIL.getRSForFirstRegionInTable(TABLE_NAME);
RegionInfo region = srcRs.getRegions(TABLE_NAME).get(0).getRegionInfo();
@@ -191,6 +192,7 @@ public class TestCloseRegionWhileRSCrash {
// close connection to make sure that we can not finish the TRSP
final HMaster master = UTIL.getMiniHBaseCluster().getMaster();
master.getConnection().close();
+ LOG.info("Master1 {}, connection closed", master.getServerName());
RESUME.countDown();
UTIL.waitFor(30000, () -> !master.isAlive());
// here we start a new master
{code}
Then did this... :
{code}
../dev-support/adhoc_run_tests/adhoc_run_tests.sh --repeat 30
TestCloseRegionWhileRSCrash#testRetryBackoff
{code}
Let me try in local builds.
> [Flakey Tests] TestCloseRegionWhileRSCrash
> ------------------------------------------
>
> Key: HBASE-24118
> URL: https://issues.apache.org/jira/browse/HBASE-24118
> Project: HBase
> Issue Type: Test
> Reporter: Michael Stack
> Assignee: Michael Stack
> Priority: Major
> Fix For: 3.0.0-alpha-1, 2.3.0
>
> Attachments:
> 0001-HBASE-24118-Flakey-Tests-TestCloseRegionWhileRSCrash.patch
>
>
> TestCloseRegionWhileRSCrash is flakey because of HBASE-24117 -- because
> moved Region may not online in the end. Remove the last bit of the test...
--
This message was sent by Atlassian Jira
(v8.3.4#803005)