Phoenix导数错误: client.RpcRetryingCaller: Call exception, tries=10 ...

往Phoenix表中批量导数出现的错误, 命令:

hadoop jar phoenix-4.14.0-cdh5.11.2-client.jar org.apache.phoenix.mapreduce.CsvBulkLoadTool --table my_table --input  hdfs_dir --delimiter '分隔符'

错误详情:

18/10/12 09:29:15 INFO client.RpcRetryingCaller: Call exception, tries=10, retries=35, started=68303 ms ago, cancelled=false, msg=row '' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=a2502f09,60020,1538186605092, seqNum=0
18/10/12 09:29:35 INFO client.RpcRetryingCaller: Call exception, tries=11, retries=35, started=88318 ms ago, cancelled=false, msg=row '' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=a2502f09,60020,1538186605092, seqNum=0
...

18/10/12 09:37:18 INFO client.RpcRetryingCaller: Call exception, tries=34, retries=35, started=551111 ms ago, cancelled=false, msg=row '' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=a2502f09,60020,1538186605092, seqNum=0

18/10/12 09:37:18 WARN security.UserGroupInformation: PriviledgedActionException as:userName@HADOOP.TEST (auth:KERBEROS) cause:org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=35, exceptions:
Fri Oct 12 09:28:07 CST 2018, RpcRetryingCaller{globalStartTime=1539307687025, pause=100, retries=35}, org.apache.hadoop.hbase.ipc.RemoteWithExtrasException(org.apache.hadoop.hbase.security.AccessDeniedException): org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permissions (user=userName@HADOOP.TEST, scope=hbase:meta, params=[table=hbase:meta],action=EXEC)
 ......

Fri Oct 12 09:28:07 CST 2018, RpcRetryingCaller{globalStartTime=1539307687025, pause=100, retries=35}, org.apache.hadoop.hbase.ipc.RemoteWithExtrasException(org.apache.hadoop.hbase.security.AccessDeniedException): org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permissions (user=userName@HADOOP.TEST, scope=hbase:meta, params=[table=hbase:meta],action=EXEC)
      ......


看到了错误, 一目了然, 当前用户没有对hbase:meta表的执行权限,

只需要管理员执行:

grant 'userName', 'X', 'hbase:meta'

给了权限, 就没问题了.

这里面问题的关键就是要等10分钟, 重试10分钟之后才会报错,  需要耐心一点.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值