美文网首页
CDH yarn资源包问题

CDH yarn资源包问题

作者: 只是甲 | 来源:发表于2021-03-10 18:51 被阅读0次

    hive insert into语句报错:

    > insert into fact_sale(id,sale_date,prod_name,sale_nums) values (1,'2011-08-16','PROD4',28);
    Query ID = root_20201119163832_f78a095d-2656-4da6-825f-64127e84b8b4
    Total jobs = 3
    Launching Job 1 out of 3
    Number of reduce tasks is set to 0 since there's no reduce operator
    20/11/19 16:38:32 INFO client.ConfiguredRMFailoverProxyProvider: Failing over to rm69
    Starting Job = job_1605767427026_0013, Tracking URL = http://hp3:8088/proxy/application_1605767427026_0013/
    Kill Command = /opt/cloudera/parcels/CDH-6.3.1-1.cdh6.3.1.p0.1470567/lib/hadoop/bin/hadoop job  -kill job_1605767427026_0013
    Hadoop job information for Stage-1: number of mappers: 0; number of reducers: 0
    2020-11-19 16:39:12,211 Stage-1 map = 0%,  reduce = 0%
    Ended Job = job_1605767427026_0013 with errors
    Error during job, obtaining debugging information...
    FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
    MapReduce Jobs Launched: 
    Stage-Stage-1:  HDFS Read: 0 HDFS Write: 0 HDFS EC Read: 0 FAIL
    Total MapReduce CPU Time Spent: 0 msec
    

    根据提示看错误得到错误信息:
    跑mapreduce任务报错Download and unpack failed


    image.png

    安装一下就OK

    image.png

    参考

    1.https://www.pianshen.com/article/15121249303/

    相关文章

      网友评论

          本文标题:CDH yarn资源包问题

          本文链接:https://www.haomeiwen.com/subject/asjliktx.html