[ https://issues.apache.org/jira/browse/HBASE-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Purtell updated HBASE-2266: ---------------------------------- Summary: [stargate] missing MiniDFSCluster dependency (was: [stargate] recent build system changes broke tests) > [stargate] missing MiniDFSCluster dependency > -------------------------------------------- > > Key: HBASE-2266 > URL: https://issues.apache.org/jira/browse/HBASE-2266 > Project: Hadoop HBase > Issue Type: Bug > Reporter: Andrew Purtell > Assignee: Andrew Purtell > Fix For: 0.20.4, 0.21.0 > > > This is the problem: java.lang.NoClassDefFoundError: > org/apache/hadoop/net/StaticMapping > at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:287) > Some dependency is missing from the sub project. > % mvn -DskipTests clean install > ... > [INFO] BUILD SUCCESSFUL > % mvn -Dtest=Test00MiniCluster test > ... > Tests run: 4, Failures: 0, Errors: 4, Skipped: 0 > From the test log file: > testDFSMiniCluster(org.apache.hadoop.hbase.stargate.Test00MiniCluster) Time > elapsed: 1.263 sec <<< ERROR! > java.lang.NoClassDefFoundError: org/apache/hadoop/net/StaticMapping > at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:287) > at > org.apache.hadoop.hbase.stargate.MiniClusterTestCase.startDFS(MiniClusterTestCase.java:81) > at > org.apache.hadoop.hbase.stargate.MiniClusterTestCase.startMiniCluster(MiniClusterTestCase.java:187) > at > org.apache.hadoop.hbase.stargate.MiniClusterTestCase.setUp(MiniClusterTestCase.java:225) > at junit.framework.TestCase.runBare(TestCase.java:132) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.