hbase 跨集群CopyTable异常

命令如下
hbase org.apache.hadoop.hbase.mapreduce.CopyTable  --peer.adr=xxx:2181:/hbase    test
出现下列异常, 不知为何, 请大神指点
17/08/31 09:38:50 INFO mapreduce.Job: Running job: job_1503457231678_0023
17/08/31 09:38:57 INFO mapreduce.Job: Job job_1503457231678_0023 running in uber mode : false
17/08/31 09:38:57 INFO mapreduce.Job: map 0% reduce 0%
17/08/31 09:39:02 INFO mapreduce.Job: Task Id : attempt_1503457231678_0023_m_000000_0, Status : FAILED
Error: org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException: Failed 1 action: test: 1 time,
at org.apache.hadoop.hbase.client.AsyncProcess$BatchErrors.makeException(AsyncProcess.java:247)
at org.apache.hadoop.hbase.client.AsyncProcess$BatchErrors.access$1800(AsyncProcess.java:227)
at org.apache.hadoop.hbase.client.AsyncProcess.waitForAllPreviousOpsAndReset(AsyncProcess.java:1766)
at org.apache.hadoop.hbase.client.BufferedMutatorImpl.backgroundFlushCommits(BufferedMutatorImpl.java:240)
at org.apache.hadoop.hbase.client.BufferedMutatorImpl.close(BufferedMutatorImpl.java:163)
at org.apache.hadoop.hbase.mapreduce.TableOutputFormat$TableRecordWriter.close(TableOutputFormat.java:120)
at org.apache.hadoop.mapred.MapTask$NewDirectOutputCollector.close(MapTask.java:670)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:793)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInfo
已邀请:

openinx - HBase Committer @小米

赞同来自:

不得不说HBase在AsyncProcess出问题的时候,打日志实在打的太搓了。主要是没有把root cause给打出来。哎。。。我们每次查AsyncProcess抛出来的问题,也非常倒腾。。后面自己改了下,把root cause给打出来了。
 
你看看,周边还有啥日志嘛?这个不是根本原因。

igloo1986

赞同来自:

copyTable实际上就是调用hbase的实时接口写入,看些配置,是不是少传什么了,目标集群clusterkey是否正确,目标集群表是否存在等。

要回复问题请先登录注册