Hello,

On Tue, Mar 29, 2011 at 5:55 PM, Hari Sreekumar
<[email protected]> wrote:
> Hi,
>
> I went through this thread (
> http://www.apacheserver.net/Using-Hadoop-bundled-in-lib-directory-HBase-at1134614.htm)
> which mentions that the hadoop jars ( hadoop-0.20.2/hadoop-0.20.2-core.jar
> and hadoop-0.20.2/hadoop-0.20.2-core.jar) can simply be replaced by
> hbase-0.90.1/lib/hadoop-*.jar files. Now I have the following jars in
> hbase-0.90.1/lib:
> hadoop-core-0.20-append-r1056497.jar
> If anyone else has tried this way, which jar did you replace?
> I tried replacing hadoop-0.20.2-core.jar
> with hadoop-core-0.20-append-r1056497.jar. I get this error when I tried to
> start dfs:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/hadoop/util/PlatformName
> Caused by: java.lang.ClassNotFoundException:
> org.apache.hadoop.util.PlatformName

It must be replaced, yes (not placed along-side, which would indeed
lead to conflicts).

Could you verify if the supplied jar indeed contains the required classes?
Something like `jar tvf <jar> | grep ClassName` should throw up a result.

An opinion though, given a chance, I'd actually pick up CDH3B4 packs
from Cloudera to setup a HBase cluster (and not really have to worry
too much about these things).

-- 
Harsh J
http://harshj.com

Reply via email to