Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> importtsv bulk load error


Copy link to this message
-
Re: importtsv bulk load error
Shouldn't "hadoop jar hbase-version.jar importtsv" , execute OK (displaying
the usage of the tool) irrespective of classpath being set correctly or
not. Atleast that used to be the behavior  some time back. No?

I spent some time going through recent changes in LoadIncrementalHFiles to
understand why jvm is trying to load Multimap class when it should not be
doing so (yet).
No luck yet.

On Thu, Nov 17, 2011 at 1:24 PM, Bill Graham <[EMAIL PROTECTED]> wrote:

> 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
> >
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB