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?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]