我正在尝试按照此链接中的指导将数据从CSV批量加载到HBASE表:http://www.thecloudavenue.com/2013/04/bulk-loading-data-in-hbase.html
我创建了代码的JAR并使用以下命令在终端中运行:
hadoop jar ~/hadoop/BLoad.jar anoop.BLDriver /input/path /op/path NBAFinal2010
但是当执行时我因为动物园管理员发出以下错误而陷入困境:
15/09/23 22:29:45 INFO client.RpcRetryingCaller: Call exception, tries=10, retries=35, started=48674 ms ago, cancelled=false, msg=
这持续35次尝试。 之后我得到:
Wed Sep 23 22:28:57 IST 2015, RpcRetryingCaller{globalStartTime=1443027536828, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException:
com.google.protobuf.ServiceException: org.apache.hadoop.hbase.ipc.FailedServerException: This server is in the failed servers list: Anoop-PC/127.0.1.1:16000
也
Wed Sep 23 22:37:48 IST 2015, RpcRetryingCaller{globalStartTime=1443027536828, pause=100, retries=35},
org.apache.hadoop.hbase.MasterNotRunningException: com.google.protobuf.ServiceException: org.apache.hadoop.hbase.DoNotRetryIOException: java.lang.NoSuchMethodError: org.apache.hadoop.net.NetUtils.getInputStream(Ljava/net/Socket;)Lorg/apache/hadoop/net/SocketInputWrapper;
at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:147)
at org.apache.hadoop.hbase.client.HTable.executeMasterCallable(HTable.java:596)
at org.apache.hadoop.hbase.client.HTable.getTableDescriptor(HTable.java:572)
at org.apache.hadoop.hbase.mapreduce.HFileOutputFormat.configureIncrementalLoad(HFileOutputFormat.java:91)
at anoop.hbase.BLDriver.run(BLDriver.java:60)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at anoop.hbase.BLDriver.main(BLDriver.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.util.RunJar.main(RunJar.java:160)
不确定最新情况。请帮忙。 提前致谢!