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 <billgra...@gmail.com> > Make sure guava.jar is in your classpath. > > On Thu, Nov 17, 2011 at 12:23 PM, Denis Kreis <de.kr...@gmail.com> 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 > > >