hive shell按照日期分区查询出错container rejected as it is allocated by a previous RM

运行环境:hdp-2.6.1  hive-1.2.1  hadoop-2.7.3

【错误现象】

错误日志摘要如下

hive> SELECT COUNT(*) FROM user_emails WHERE DT='2018-05-04';
Query ID = hive_20180521154838_e7c24767-8634-44e7-bad6-3a73ce13f768
Total jobs = 1
Launching Job 1 out of 1
Status: Running (Executing on YARN cluster with App id application_1525783734500_0548)

--------------------------------------------------------------------------------
        VERTICES      STATUS  TOTAL  COMPLETED  RUNNING  PENDING  FAILED  KILLED
--------------------------------------------------------------------------------
Map 1                RUNNING      2          0        0        2       4       0
Reducer 2             INITED      1          0        0        1       0       0
--------------------------------------------------------------------------------
VERTICES: 00/02  [>>--------------------------] 0%    ELAPSED TIME: 3.49 s     
--------------------------------------------------------------------------------
Status: Failed
Vertex failed, vertexName=Map 1, vertexId=vertex_1525783734500_0548_2_00, diagnostics=[Task failed, taskId=task_1525783734500_0548_2_00_000000, diagnostics=[TaskAttempt 0 failed, info=[Container launch failed for container_e14_1525783734500_0548_02_000027 : org.apache.hadoop.yarn.exceptions.InvalidContainerException: 
Container container_e14_1525783734500_0548_02_000027 rejected as it is allocated by a previous RM
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值