Have you added the hadoop test jar to your build path? MiniDFSCluster is in the hadoop test jar.

Mafish, is you can, you should use hadoop+hbase 0.16.0. There have been alot of fixes and improvements since the release of 0.15.0.

Thanks,
St.Ack


Mafish Liu wrote:
Hi, all:
  I'm using hadoop release 0.15.2 and found this error when I importing the
hbase-test project into eclipse.

Severity and Description    Path    Resource    Location    Creation Time
Id
The import org.apache.hadoop.dfs.MiniDFSCluster cannot be resolved
hbase-test/test/org/apache/hadoop/hbase    AbstractMergeTestBase.java
line 25    1203926845023    37645

  Any idea?

  Thanks.


Reply via email to