- [email protected], + [email protected] I am still a bit puzzled why HADOOP_CLASSPATH needs to be set when all I need to see is what all tools are available ("hadoop jar hbase-version.jar" output) If required, may be hbase book http://hbase.apache.org/bulk-loads.htmlneeds a small note to do so.
-Shrijeet On Thu, Nov 17, 2011 at 2:08 PM, Denis Kreis <[email protected]> wrote: > I meant: explicitly set HADOOP_CLASSPATH > > 2011/11/17 Denis Kreis <[email protected]> > > > I first tried with -jarfile, but it did not work. > > But if you explicitly set Hadoop. It works. > > Thank you Bill > > > > 2011/11/17 Bill Graham <[email protected]> > > > >> Make sure guava.jar is in your classpath. > >> > >> On Thu, Nov 17, 2011 at 12:23 PM, Denis Kreis <[email protected]> > wrote: > >> > >> > Hi, > >> > > >> > i'm getting this error when trying to use the importtsv tool with > >> > hadoop-0.20.205.0 and hbase-0.92.0 > >> > > >> > hadoop jar ../../hbase-0.92.0-SNAPSHOT/hbase-0.92.0-SNAPSHOT.jar > >> importtsv > >> > Exception in thread "main" java.lang.NoClassDefFoundError: > >> > com/google/common/collect/Multimap > >> > at org.apache.hadoop.hbase.mapreduce.Driver.main(Driver.java:43) > >> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> > at > >> > > >> > > >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >> > at > >> > > >> > > >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >> > at java.lang.reflect.Method.invoke(Method.java:597) > >> > at org.apache.hadoop.util.RunJar.main(RunJar.java:156) > >> > Caused by: java.lang.ClassNotFoundException: > >> > com.google.common.collect.Multimap > >> > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > >> > at java.security.AccessController.doPrivileged(Native Method) > >> > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > >> > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > >> > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > >> > ... 6 more > >> > > >> > Does anyone know what is wrong? > >> > > >> > Thanks! > >> > Denis > >> > > >> > > > > >
