From 6985f9aabebefa86037f7dbc478374392afef990 Mon Sep 17 00:00:00 2001 From: Ashutosh Gupta Date: Fri, 13 May 2022 17:41:06 +0100 Subject: [PATCH] YARN-10080. Support show app id on localizer thread pool (#4283) Signed-off-by: Akira Ajisaka --- .../containermanager/localizer/ContainerLocalizer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/ContainerLocalizer.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/ContainerLocalizer.java index 1bda631429a..604a810ec94 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/ContainerLocalizer.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/ContainerLocalizer.java @@ -218,7 +218,7 @@ public class ContainerLocalizer { ExecutorService createDownloadThreadPool() { return HadoopExecutors.newSingleThreadExecutor(new ThreadFactoryBuilder() - .setNameFormat("ContainerLocalizer Downloader").build()); + .setNameFormat("ContainerLocalizer Downloader-" + localizerId).build()); } CompletionService createCompletionService(ExecutorService exec) {