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

ASF GitHub Bot commented on YARN-11566:
---------------------------------------

slfan1989 commented on code in PR #6068:
URL: https://github.com/apache/hadoop/pull/6068#discussion_r1325823017


##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/test/java/org/apache/hadoop/yarn/server/uam/TestUnmanagedApplicationManager.java:
##########
@@ -518,6 +518,10 @@ public void testSeparateThreadWithoutBlockServiceStop() 
throws Exception {
     Assert.assertNotNull(unmanagedAppMasterMap);
     Assert.assertEquals(2, unmanagedAppMasterMap.size());
 
+    // threadpool may be shutdown before finishApplicationThread is executed.
+    threadpool.shutdownNow();

Review Comment:
   In actual situations, what situations would cause the thread pool to be 
terminated? 





> Yarn app kill command can not kill the application in secondary sub cluster.
> ----------------------------------------------------------------------------
>
>                 Key: YARN-11566
>                 URL: https://issues.apache.org/jira/browse/YARN-11566
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: zhengchenyu
>            Assignee: zhengchenyu
>            Priority: Major
>              Labels: pull-request-available
>
> When AMRMProxy is enable, the application may allocate container among multi 
> sub cluster. The application in secondary sub cluster will be labeled as 
> unmananged application. When we run 'yarn app -kill \{appid}', the unmananged 
> application will not be killed in secondary sub cluster.
> The unmanaged application will be removed util app attempt is expired after 
> 15 minute.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to