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

Jimmy Xiang commented on HBASE-6305:
------------------------------------

Can you do something like below?

conf.set(HConstants.HBASE_DIR,
TEST_UTIL.getDataTestDir("hbase.rootdir").makeQualified(TEST_UTIL.getTestFileSystem()).toString());
                
> TestLocalHBaseCluster hangs with hadoop 2.0/0.23 builds.
> --------------------------------------------------------
>
>                 Key: HBASE-6305
>                 URL: https://issues.apache.org/jira/browse/HBASE-6305
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.92.2, 0.94.1
>            Reporter: Jonathan Hsieh
>            Assignee: Jonathan Hsieh
>             Fix For: 0.94.3
>
>         Attachments: hbase-6305-94.patch, HBASE-6305-94-v2.patch, 
> HBASE-6305-v1.patch
>
>
> trunk: mvn clean test -Dhadoop.profile=2.0 -Dtest=TestLocalHBaseCluster
> 0.94: mvn clean test -Dhadoop.profile=23 -Dtest=TestLocalHBaseCluster
> {code}
> testLocalHBaseCluster(org.apache.hadoop.hbase.TestLocalHBaseCluster)  Time 
> elapsed: 0.022 sec  <<< ERROR!
> java.lang.RuntimeException: Master not initialized after 200 seconds
>         at 
> org.apache.hadoop.hbase.util.JVMClusterUtil.startup(JVMClusterUtil.java:208)
>         at 
> org.apache.hadoop.hbase.LocalHBaseCluster.startup(LocalHBaseCluster.java:424)
>         at 
> org.apache.hadoop.hbase.TestLocalHBaseCluster.testLocalHBaseCluster(TestLocalHBaseCluster.java:66)
> ...
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to