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

ifmq2ha2  于 2021-06-04  发布在  Hadoop
关注(0)|答案(0)|浏览(288)

我在终端的单节点集群中运行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.(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.(Unknown Source)
at org.apache.hadoop.fs.Path.initialize(Path.java:154)
... 15 more

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题