[ https://issues.apache.org/jira/browse/MAPREDUCE-2983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102768#comment-13102768 ]
Vinod Kumar Vavilapalli commented on MAPREDUCE-2983: ---------------------------------------------------- This happens if the NodeManagers are not configured to run the mapreduce specific ShuffleService. Set _yarn.nodemanager.aux-services_ to _mapreduce.shuffle_ and _yarn.nodemanager.aux-services.mapreduce.shuffle.class_ to _org.apache.hadoop.mapred.ShuffleHandler_ in your yarn-site.xml This is already mentioned in the INSTALL file. Please close this ticket if that works for you. Thanks! > All tasks are failing due to invalid shuffle port number > -------------------------------------------------------- > > Key: MAPREDUCE-2983 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2983 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: applicationmaster > Affects Versions: 0.24.0 > Reporter: Devaraj K > > {code:xml} > 2011-09-12 18:43:10,361 INFO mapreduce.Job (Job.java:printTaskEvents(1227)) > - Task Id : attempt_1315831998314_0007_r_000000_0, Status : FAILED > Container launch failed for container_1315831998314_0007_01_000003 : > java.lang.IllegalStateException: Invalid shuffle port number -1 returned for > attempt_1315831998314_0007_r_000000_0 > at > org.apache.hadoop.mapreduce.v2.app.launcher.ContainerLauncherImpl$EventProcessor.run(ContainerLauncherImpl.java:226) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619) > {code} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira