Hi,

I ran into classpath problems while trying to use MiniDFSCluster:

My code uses the hadoop (2.7.1) and hbase (1.1.2) api, my classpath
includes hadoop/share/hadoop/*.jar and hbase/lib/*.jar, so nothing
should be missing.
But I got "class not found errors" in the code using MiniDFSCluster.

Then I realized that the hadoop jars in hbase/libs are older (2.5.1)
than the hadoop jars of my hadoop release (2.7.1)

After replacing all 2.5.1 jars in hbase/lib with the 2.7.1 version files
from hadoop/share/hadoop the errors are gone and the tests ran fine.

So, is this the right method to do this (no maven!) ?
Or, if this is a misconfiguration of my classpath, how to do it right?


thanks for answering,
 Michal


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@hadoop.apache.org
For additional commands, e-mail: user-h...@hadoop.apache.org

Reply via email to