[ https://issues.apache.org/jira/browse/HBASE-17922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16086103#comment-16086103 ]
Appy commented on HBASE-17922: ------------------------------ Very thorough and interesting find [~mdrob]. Thanks for digging in. Let me commit this patch since limiting it to HRegionServer makes sense based on what's be tested here. --- So the issue you found above can surface in any test class with multiple test functions and setting up miniDFSCluster in @Before? (since all test fns run in same jvm) Either way, I'd suggest that you post a small note on parent jira HBASE-17919 about your discovery if it resurfaces in other test so someone else doesn't figure it out all over again. > TestRegionServerHostname always fails against hadoop 3.0.0-alpha2 > ----------------------------------------------------------------- > > Key: HBASE-17922 > URL: https://issues.apache.org/jira/browse/HBASE-17922 > Project: HBase > Issue Type: Sub-task > Components: hadoop3 > Affects Versions: 2.0.0 > Reporter: Jonathan Hsieh > Assignee: Mike Drob > Fix For: 2.0.0-alpha-2 > > Attachments: HBASE-17922.patch > > > {code} > Running org.apache.hadoop.hbase.regionserver.TestRegionServerHostname > Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 126.363 sec > <<< FAILURE! - in > org.apache.hadoop.hbase.regionserver.TestRegionServerHostname > testRegionServerHostname(org.apache.hadoop.hbase.regionserver.TestRegionServerHostname) > Time elapsed: 120.029 sec <<< ERROR! > org.junit.runners.model.TestTimedOutException: test timed out after 120000 > milliseconds > at java.lang.Thread.sleep(Native Method) > at > org.apache.hadoop.hbase.util.JVMClusterUtil.startup(JVMClusterUtil.java:221) > at > org.apache.hadoop.hbase.LocalHBaseCluster.startup(LocalHBaseCluster.java:405) > at > org.apache.hadoop.hbase.MiniHBaseCluster.init(MiniHBaseCluster.java:225) > at > org.apache.hadoop.hbase.MiniHBaseCluster.<init>(MiniHBaseCluster.java:94) > at > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniHBaseCluster(HBaseTestingUtility.java:1123) > at > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:1077) > at > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:948) > at > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:942) > at > org.apache.hadoop.hbase.regionserver.TestRegionServerHostname.testRegionServerHostname(TestRegionServerHostname.java:88) > Results : > Tests in error: > TestRegionServerHostname.testRegionServerHostname:88 ยป TestTimedOut test > timed... > Tests run: 2, Failures: 0, Errors: 1, Skipped: 0 > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)