hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben West <bwsithspaw...@yahoo.com>
Subject Re: Importtsv error
Date Mon, 24 Oct 2011 21:12:17 GMT
This worked, thanks!



----- Original Message -----
From: Ravikumar MAV <ravimav@gmail.com>
To: user@hbase.apache.org; Ben West <bwsithspawn00@yahoo.com>
Cc: 
Sent: Monday, October 24, 2011 2:51 PM
Subject: Re: Importtsv error

You can try

export HADOOP_CLASSPATH=$HADOOP_CLASSPATH:`hbase classpath`

in your shell


On Mon, Oct 24, 2011 at 11:24 AM, Ben West <bwsithspawn00@yahoo.com> wrote:

> Hey all,
>
> I'm getting this error:
>
> $ hadoop jar /usr/lib/hbase/hbase-0.90.3-cdh3u1.jar importtsv -libjars
> /usr/lib/hbase/lib/guava-r06.jar
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/zookeeper/KeeperException
> ...
>
> I found a few threads [1,2] which seem to be the same thing and the fix was
> to add guava as a libjar and remove any older google collections code. I've
> added guava as a libjar, but I can't find any mention of google* or guava*
> when I do "hadoop classpath" and I don't see it sitting in any obvious lib
> folders.
>
> Does anyone know what might be going on?
>
> Thanks!
> -Ben
>
> Here is my classpath for reference:
>
>
> /usr/lib/hadoop-0.20/conf:/usr/java/jdk1.6.0_21/lib/tools.jar:/usr/lib/hadoop-0.20:/usr/lib/hadoop-0.20/hadoop-core-0.20.2-cdh3u1.jar:/usr/lib/hadoop-0.20/lib/ant-contrib-1.0b3.jar:/usr/lib/hadoop-0.20/lib/aspectjrt-1.6.5.jar:/usr/lib/hadoop-0.20/lib/aspectjtools-1.6.5.jar:/usr/lib/hadoop-0.20/lib/commons-cli-1.2.jar:/usr/lib/hadoop-0.20/lib/commons-codec-1.4.jar:/usr/lib/hadoop-0.20/lib/commons-daemon-1.0.1.jar:/usr/lib/hadoop-0.20/lib/commons-el-1.0.jar:/usr/lib/hadoop-0.20/lib/commons-httpclient-3.0.1.jar:/usr/lib/hadoop-0.20/lib/commons-logging-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-logging-api-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-net-1.4.1.jar:/usr/lib/hadoop-0.20/lib/core-3.1.1.jar:/usr/lib/hadoop-0.20/lib/hadoop-fairscheduler-0.20.2-cdh3u1.jar:/usr/lib/hadoop-0.20/lib/hsqldb-1.8.0.10.jar:/usr/lib/hadoop-0.20/lib/hue-plugins-1.2.0-cdh3u1.jar:/usr/lib/hadoop-0.20/lib/jackson-core-asl-1.5.2.jar:/usr/lib/hadoop-0.20/lib/jackson-mapper-asl-1
>
> .5.2.jar:/usr/lib/hadoop-0.20/lib/jasper-compiler-5.5.12.jar:/usr/lib/hadoop-0.20/lib/jasper-runtime-5.5.12.jar:/usr/lib/hadoop-0.20/lib/jets3t-0.6.1.jar:/usr/lib/hadoop-0.20/lib/jetty-6.1.26.jar:/usr/lib/hadoop-0.20/lib/jetty-servlet-tester-6.1.26.jar:/usr/lib/hadoop-0.20/lib/jetty-util-6.1.26.jar:/usr/lib/hadoop-0.20/lib/jsch-0.1.42.jar:/usr/lib/hadoop-0.20/lib/junit-4.5.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.2.jar:/usr/lib/hadoop-0.20/lib/log4j-1.2.15.jar:/usr/lib/hadoop-0.20/lib/mockito-all-1.8.2.jar:/usr/lib/hadoop-0.20/lib/oro-2.0.8.jar:/usr/lib/hadoop-0.20/lib/servlet-api-2.5-20081211.jar:/usr/lib/hadoop-0.20/lib/servlet-api-2.5-6.1.14.jar:/usr/lib/hadoop-0.20/lib/slf4j-api-1.4.3.jar:/usr/lib/hadoop-0.20/lib/slf4j-log4j12-1.4.3.jar:/usr/lib/hadoop-0.20/lib/xmlenc-0.52.jar:/usr/lib/hadoop-0.20/lib/jsp-2.1/jsp-2.1.jar:/usr/lib/hadoop-0.20/lib/jsp-2.1/jsp-api-2.1.jar:/usr/lib/hbase/:/usr/lib/hbase/lib:/usr/lib/hbase/bin:/usr/lib/hbase/:/usr/lib/hbase/
> lib:/usr/lib/hbase/bin:
>
> [1]
> http://mail-archives.apache.org/mod_mbox/hbase-user/201011.mbox/%3CAANLkTi=4WwXJjGeN0i=+3Lf6Kb28HoDyecSE8MhTkegE@mail.gmail.com%3E
> [2]
> http://mail-archives.apache.org/mod_mbox/hbase-user/201102.mbox/%3Cop.vq72d0aoaanks1@cosmicrhythm-pc.oslo.opera.com%3E
>
>


-- 
- Ravi MAV


Mime
View raw message