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

sandflee commented on YARN-5315:
--------------------------------

{quote}
shutdownNow :
Attempts to stop all actively executing tasks, halts the processing of waiting 
tasks, and returns a list of the tasks that were awaiting execution. These 
tasks are drained (removed) from the task queue upon return from this method.
{quote}
thanks [~jianhe], shutdownNow will interrupt active workers and drain pending 
task. so the difference is patch1 will not wait active worker terminated but 
patch2 will. seems we couldn't get much benefit from awaitTermination.

> Standby RM keep sending start am container request to NM
> --------------------------------------------------------
>
>                 Key: YARN-5315
>                 URL: https://issues.apache.org/jira/browse/YARN-5315
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>            Reporter: sandflee
>            Assignee: sandflee
>         Attachments: YARN-5315.01.patch, YARN-5315.02.patch
>
>
> 1, network partitions, RM couldn't connect to NMs and start AM request pending
> 2, RM becomes standby, int ApplicatioinMasterLauncher#serviceStop, 
> launcherPool are shutdown. the launching thread are interrupted, but start AM 
> request may still left in Queue
> 3,network reconnect,  standby RM sends start AM request to NM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to