Hadoop集群跑mapreduce任务报错Download and unpack failed

 

sudo -u hdfs hadoop jar /opt/cloudera/parcels/CDH/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar pi 10 10000

application_1570857844866_0007 failed 2 times due to AM Container for appattempt_1570857844866_0007_000002 exited with  exitCode: -1000
Failing this attempt.Diagnostics: [2019-10-14 10:18:40.897]org.apache.hadoop.yarn.exceptions.YarnException: Download and unpack failed
For more detailed output, check the application tracking page: http://cdh1.cm:8088/cluster/app/application_1570857844866_0007 Then click on links to logs of each attempt.
. Failing the application.
19/10/14 10:18:42 INFO mapreduce.Job: Counters: 0

解决方法:

需要安装Install YARN MapReduce Framework JARs

安装步骤:CM->Yarn->Actions->Click on "Install YARN MapReduce Framework JARs".

Hadoop集群跑mapreduce任务报错Download and unpack failed_第1张图片

Hadoop集群跑mapreduce任务报错Download and unpack failed_第2张图片


 

你可能感兴趣的:(Hadoop)