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

Duo Zhang commented on HBASE-24437:
-----------------------------------

Oh, I think there is a bug. You can see in the tearDown method, I just stop the 
mini dfs cluster but in the setUp method, I start a mini (hbase) cluster. I 
think the problem is that, I should only start mini dfs cluster in setUp, as in 
this test, we only need a dfs cluster.

> Flaky test, TestLocalRegionOnTwoFileSystems#testFlushAndCompact
> ---------------------------------------------------------------
>
>                 Key: HBASE-24437
>                 URL: https://issues.apache.org/jira/browse/HBASE-24437
>             Project: HBase
>          Issue Type: Bug
>          Components: meta
>            Reporter: Huaxiang Sun
>            Assignee: Michael Stack
>            Priority: Major
>             Fix For: 3.0.0-alpha-1, 2.3.0
>
>         Attachments: 
> 0001-HBASE-24437-Flaky-test-TestLocalRegionOnTwoFileSyste.patch
>
>
> {code:java}
> precommit checks / yetus jdk8 Hadoop2 checks / 
> org.apache.hadoop.hbase.master.store.TestLocalRegionOnTwoFileSystems.testFlushAndCompactFailing
>  for the past 1 build (Since #1 )Took 17 sec.Error MessageWaiting timed out 
> after [15,000] msecStacktracejava.lang.AssertionError: Waiting timed out 
> after [15,000] msec
>       at 
> org.apache.hadoop.hbase.master.store.TestLocalRegionOnTwoFileSystems.testFlushAndCompact(TestLocalRegionOnTwoFileSystems.java:178)
> Standard OutputFormatting using clusterid: testClusterID
> Standard Error2020-05-26 00:26:29,624 INFO  [main] 
> hbase.HBaseClassTestRule(94): Test class 
> org.apache.hadoop.hbase.master.store.TestLocalRegionOnTwoFileSystems timeout: 
> 13 mins
> 2020-05-26 00:26:30,158 DEBUG [main] hbase.HBaseTestingUtility(348): Setting 
> hbase.rootdir to 
> /home/jenkins/jenkins-slave/workspace/Base-PreCommit-GitHub-PR_PR-1776/yetus-jdk8-hadoop2-check/src/hbase-server/target/test-data/f6a36278-321e-2b82-017a-bbe71410a0cf
> 2020-05-26 00:26:30,231 INFO  [Time-limited test] 
> hbase.HBaseTestingUtility(1114): Starting up minicluster with option: 
> StartMiniClusterOption{numMasters=1, masterClass=null, numRegionServers=3, 
> rsPorts=, rsClass=null, numDataNodes=3, dataNodeHosts=null, numZkServers=1, 
> createRootDir=false, createWALDir=false}
> 2020-05-26 00:26:30,232 INFO  [Time-limited test] 
> hbase.HBaseZKTestingUtility(83): Created new mini-cluster data directory: 
> /home/jenkins/jenkins-slave/workspace/Base-PreCommit-GitHub-PR_PR-1776/yetus-jdk8-hadoop2-check/src/hbase-server/target/test-data/f6a36278-321e-2b82-017a-bbe71410a0cf/cluster_ddea42b7-f6f1-92fe-0685-674774d0fce2,
>  deleteOnExit=true
> 2020-05-26 00:26:30,233 INFO  [Time-limited test] 
> hbase.HBaseTestingUtility(1128): STARTING DFS {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to