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

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
This commit is contained in:
Ashutosh Gupta 2022-05-13 17:41:06 +01:00 committed by GitHub
parent 9c3330c22f
commit 6985f9aabe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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