Hadoop 运行jar时,org.apache.hadoop.yarn.exceptions.InvalidAuxServiceException: The auxService:mapreduce_shuffle does not exist的解决方案
问题描述:
[root@iflytek01 hadoop]# hadoop jar /datas/wordcount02.jar TestReduce.WordCount /test/hdfs02.txt /test/output/
19/10/30 13:18:36 INFO client.RMProxy: Connecting to ResourceManager at iflytek01/192.168.230.125:8032
19/10/30 13:18:36 WARN mapreduce.JobResourceUploader: Hadoop command-line option parsing not performed. Implement the Tool interface and execute your application with ToolRunner to remedy this.
19/10/30 13:18:37 INFO input.FileInputFormat: Total input files to process : 1
19/10/30 13:18:37 INFO mapreduce.JobSubmitter: number of splits:1
19/10/30 13:18:38 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1572337791871_0002
19/10/30 13:18:38 INFO impl.YarnClientImpl: Submitted application application_1572337791871_0002
19/10/30 13:18:38 INFO mapreduce.Job: The url to track the job: http://iflytek01:8088/proxy/application_1572337791871_0002/
19/10/30 13:18:38 INFO mapreduce.Job: Running job: job_1572337791871_0002
19/10/30 13:18:55 INFO mapreduce.Job: Job job_1572337791871_0002 running in uber mode : false
19/10/30 13:18:55 INFO mapreduce.Job: map 0% reduce 0%
19/10/30 13:18:56 INFO mapreduce.Job: Task Id : attempt_1572337791871_0002_m_000000_0, Status : FAILED
Container launch failed for container_1572337791871_0002_01_000002 : org.apache.hadoop.yarn.exceptions.InvalidAuxServiceException: The auxService:mapreduce_shuffle does not exist
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInsta