线程“main”中的异常java.lang.reflect.InvocationTargetException

时间:2013-06-06 10:44:24

标签: java hadoop hbase bulk-load

我在终端上的单节点集群中运行hbase批量加载程序。用于破坏这项工作的hadoop命令

HADOOP_CLASSPATH='hbase classpath' hadoop jar /home/cloudera/Videos/hbaseBulk.jar /user/cloudera/Game1.csv /user/cloudera/hbase NBAFinal2010

输入路径:/user/cloudera/Game1.csv

输出路径:/user/cloudera/hbase

hbase表名:NBAFinal2010

13/06/06 15:18:39 INFO mapreduce.HFileOutputFormat: Writing partition information to hdfs://localhost:8600/user/cloudera/partitions_1370512119021
    13/06/06 15:18:39 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
    13/06/06 15:18:39 INFO compress.CodecPool: Got brand-new compressor [.deflate]
    Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
    Caused by: java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: rsrc:zookeeper-3.4.3-cdh4.0.1.jar
        at org.apache.hadoop.fs.Path.initialize(Path.java:157)
        at org.apache.hadoop.fs.Path.<init>(Path.java:135)
        at org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.addDependencyJars(TableMapReduceUtil.java:478)
        at org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.addDependencyJars(TableMapReduceUtil.java:438)
        at org.apache.hadoop.hbase.mapreduce.HFileOutputFormat.configureIncrementalLoad(HFileOutputFormat.java:341)
        at Driver.main(Driver.java:50)
        ... 10 more
    Caused by: java.net.URISyntaxException: Relative path in absolute URI: rsrc:zookeeper-3.4.3-cdh4.0.1.jar
        at java.net.URI.checkPath(Unknown Source)
        at java.net.URI.<init>(Unknown Source)
        at org.apache.hadoop.fs.Path.initialize(Path.java:154)
        ... 15 more

0 个答案:

没有答案