The auxService:mapreduce_shuffle does not exist



Error and Probable Fix:

1. Error: org.apache.hadoop.yarn.exceptions.InvalidAuxServiceException: The auxService:mapreduce_shuffle does not exist

Hadoop job information for Stage-1: number of mappers: 1; number of reducers: 1
2015-05-02 13:57:39,982 Stage-1 map = 0%,  reduce = 0%
2015-05-02 13:57:49,511 Stage-1 map = 100%,  reduce = 100%
Ended Job = job_1430542224940_0001 with errors
Error during job, obtaining debugging information...
Examining task ID: task_1430542224940_0001_m_000000 (and more) from job job_1430542224940_0001

Task with the most failures(4):
-----
Task ID:
  task_1430542224940_0001_m_000000

URL:
  http://0.0.0.0:8088/taskdetails.jsp?jobid=job_1430542224940_0001&tipid=task_1430542224940_0001_m_000000
-----
Diagnostic Messages for this Task:
Container launch failed for container_1430542224940_0001_01_000005 : org.apache.hadoop.yarn.exceptions.InvalidAuxServiceException: The auxService:mapreduce_shuffle does not exist
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.instantiateException(SerializedExceptionPBImpl.java:168)
at org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.deSerialize(SerializedExceptionPBImpl.java:106)
at org.apache.hadoop.mapreduce.v2.app.launcher.ContainerLauncherImpl$Container.launch(ContainerLauncherImpl.java:155)
at org.apache.hadoop.mapreduce.v2.app.launcher.ContainerLauncherImpl$EventProcessor.run(ContainerLauncherImpl.java:369)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)


FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
MapReduce Jobs Launched:
Stage-Stage-1: Map: 1  Reduce: 1   HDFS Read: 0 HDFS Write: 0 FAIL
Total MapReduce CPU Time Spent: 0 msec
hive>


-------------------
Solution..................check yarn-site.xml..........ensure 2 entries
<property>
               <name>yarn.nodemanager.aux-services</name>
               <value>mapreduce_shuffle</value>
</property>
<property>
    <name>yarn.nodemanager.aux-services.mapreduce_shuffle.class</name>
    <value>org.apache.hadoop.mapred.ShuffleHandler</value>
</property>

Comments

  1. I too have the same problem as
    Container launch failed for container_1490852519381_0006_01_000007 : org.apache.hadoop.yarn.exceptions.InvalidAuxServiceException: The auxService:mapreduce_shuffle does not exist

    I had tried the above solution but im still having the same problem. kindly help me to solve this problem.

    Thanks in advance

    ReplyDelete
    Replies
    1. Did you find the solution?
      Even I am facing this issue after making the changes to yarn-site.xml

      Delete

Post a Comment

Popular posts from this blog

ScoreCard Model using R

Zeppelin and Anaconda