YARN-10080. Support show app id on localizer thread pool (#4283)

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 6985f9aabe)
This commit is contained in:
Ashutosh Gupta 2022-05-13 17:41:06 +01:00 committed by Akira Ajisaka
parent e16ae55833
commit d58f9d438f
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ public class ContainerLocalizer {
ExecutorService createDownloadThreadPool() {
return HadoopExecutors.newSingleThreadExecutor(new ThreadFactoryBuilder()
.setNameFormat("ContainerLocalizer Downloader").build());
.setNameFormat("ContainerLocalizer Downloader-" + localizerId).build());
}
CompletionService<Path> createCompletionService(ExecutorService exec) {