[ 
https://issues.apache.org/jira/browse/MAPREDUCE-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150861#comment-13150861
 ] 

Siddharth Seth commented on MAPREDUCE-3355:
-------------------------------------------

Thanks.. Looks good, except one more interrupt check required after 
timer.cancel() while handling the CLEANUP event. Updating the patch with this 
minor change.
                
> AM scheduling hangs frequently with sort job on 350 nodes
> ---------------------------------------------------------
>
>                 Key: MAPREDUCE-3355
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3355
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: applicationmaster, mrv2
>    Affects Versions: 0.23.0
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>            Priority: Blocker
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3355-20111109.1.txt, 
> MAPREDUCE-3355-20111109.txt, MAPREDUCE-3355-20111115.txt, MR3355.txt
>
>
> Another collaboration with [~karams]. Sort job hangs not so rarely on a 350 
> node cluster. Found this in AM logs:
> {code}
> Exception in thread "ContainerLauncher #60" 
> org.apache.hadoop.yarn.YarnException: java.lang.InterruptedException
>             at 
> org.apache.hadoop.yarn.event.AsyncDispatcher$GenericEventHandler.handle(AsyncDispatcher.java:170)
>             at 
> org.apache.hadoop.mapreduce.v2.app.launcher.ContainerLauncherImpl$EventProcessor.run(ContainerLauncherImpl.java:379)
>             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)
> Caused by: java.lang.InterruptedException
>             at 
> java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1199)
>             at 
> java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:312)
>             at 
> java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:294)
>             at 
> org.apache.hadoop.yarn.event.AsyncDispatcher$GenericEventHandler.handle(AsyncDispatcher.java:168)
>             ... 4 more
> Exception in thread "ContainerLauncher #53" 
> org.apache.hadoop.yarn.YarnException: java.lang.InterruptedException
>             at 
> org.apache.hadoop.yarn.event.AsyncDispatcher$GenericEventHandler.handle(AsyncDispatcher.java:170)
>             at 
> org.apache.hadoop.mapreduce.v2.app.launcher.ContainerLauncherImpl.sendContainerLaunchFailedMsg(ContainerLauncherImpl.java:405)
>             at 
> org.apache.hadoop.mapreduce.v2.app.launcher.ContainerLauncherImpl$EventProcessor.run(ContainerLauncherImpl.java:330)
>             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)
> Caused by: java.lang.InterruptedException
>             at 
> java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1199)
>             at 
> java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:312)
>             at 
> java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:294)
>             at 
> org.apache.hadoop.yarn.event.AsyncDispatcher$GenericEventHandler.handle(AsyncDispatcher.java:168)
>             ... 5 more
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to