hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From llpind <sonny_h...@hotmail.com>
Subject Re: PerformanceEvaluation test
Date Tue, 09 Jun 2009 18:23:46 GMT

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
View raw message