hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Purtell <apurt...@apache.org>
Subject Re: PerformanceEvaluation test
Date Tue, 09 Jun 2009 20:11:00 GMT
For what it's worth, I deploy HBase jars into the Hadoop library directory so I don't have
to deal with this. Way back I had classpath problems with 'hadoop jar', and not just with
HBase. That may not be a satisfactory answer, but it works for me. 

   - Andy




________________________________
From: llpind <sonny_heer@hotmail.com>
To: hbase-user@hadoop.apache.org
Sent: Tuesday, June 9, 2009 11:23:46 AM
Subject: Re: PerformanceEvaluation test


I made an executable jar with all the jars in a lib folder with each listed
in the MANIFEST file under Class-Path.   Looks like this:

Manifest-Version: 1.0
Class-Path: lib/ojdbc14.jar  lib/commons-cli-2.0-SNAPSHOT.jar lib/comm
ons-httpclient-3.0.1.jar  lib/commons-loggin-1.0.4.jar  lib/commons-l
ogging-api-1.0.4.jar  lib/commons-math-1.1.jar  lib/jetty-5.1.4.jar  
lib/jruby-complete-1.1.6.jar  lib/junit-3.8.1.jar  lib/libthrift-2008
0411p1.jar  lib/log4j-1.2.13.jar  lib/lucene-core-2.2.0.jar  lib/serv
let-api.jar  lib/xmlenc-0.52.jar  lib/zookeeper-3.0.1.jar lib lib/had
oop-0.19.1-core.jar  lib/hadoop-0.19.1-test.jar lib/hbase-0.19.3.jar 
  lib/hbase-0.19.3-test.jar 
Main-Class: com.techsys.hbase.test.ColumnCountMapReduce

then i ran the executable from like this:

hadoop19/bin/hadoop jar dev/columncounter/columncounter.jar inputTableName

Errors:

java.io.IOException: Split class org.apache.hadoop.hbase.mapred.TableSplit
not found
    at org.apache.hadoop.mapred.MapTask.run(MapTask.java:314)
    at org.apache.hadoop.mapred.Child.main(Child.java:158)
Caused by: java.lang.ClassNotFoundException:
org.apache.hadoop.hbase.mapred.TableSplit
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at
org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:673)
    at org.apache.hadoop.mapred.MapTask.run(MapTask.java:311)
    ... 1 more

java.io.IOException: Split class org.apache.hadoop.hbase.mapred.TableSplit
not found
    at org.apache.hadoop.mapred.MapTask.run(MapTask.java:314)
    at org.apache.hadoop.mapred.Child.main(Child.java:158)
Caused by: java.lang.ClassNotFoundException:
org.apache.hadoop.hbase.mapred.TableSplit
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at
org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:673)
    at org.apache.hadoop.mapred.MapTask.run(MapTask.java:311)
    ... 1 more

java.io.IOException: Split class org.apache.hadoop.hbase.mapred.TableSplit
not found
    at org.apache.hadoop.mapred.MapTask.run(MapTask.java:314)
    at org.apache.hadoop.mapred.Child.main(Child.java:158)
Caused by: java.lang.ClassNotFoundException:
org.apache.hadoop.hbase.mapred.TableSplit
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at
org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:673)
    at org.apache.hadoop.mapred.MapTask.run(MapTask.java:311)
    ... 1 more

java.io.IOException: Split class org.apache.hadoop.hbase.mapred.TableSplit
not found
    at org.apache.hadoop.mapred.MapTask.run(MapTask.java:314)
    at org.apache.hadoop.mapred.Child.main(Child.java:158)
Caused by: java.lang.ClassNotFoundException:
org.apache.hadoop.hbase.mapred.TableSplit
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at
org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:673)
    at org.apache.hadoop.mapred.MapTask.run(MapTask.java:311)
    ... 1 more



-- 
View this message in context: http://www.nabble.com/PerformanceEvaluation-test-tp23946437p23948665.html
Sent from the HBase User mailing list archive at Nabble.com.


      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message