You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2010/02/25 09:00:28 UTC

[jira] Resolved: (HBASE-2266) [stargate] missing MiniDFSCluster dependency

     [ https://issues.apache.org/jira/browse/HBASE-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell resolved HBASE-2266.
-----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 0.20.4)

Attached patch to pom.xml fixes test failures. Committed.

> [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.21.0
>
>         Attachments: HBASE-2266.patch
>
>
> 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.