From 85d9111a88f94a5e6833cd142272be2c5823e922 Mon Sep 17 00:00:00 2001 From: Weiwei Yang Date: Wed, 17 Jul 2019 10:28:20 +0800 Subject: [PATCH] YARN-9682. Wrong log message when finalizing the upgrade. Contributed by kyungwan nam. --- .../org/apache/hadoop/yarn/service/client/ServiceClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/src/main/java/org/apache/hadoop/yarn/service/client/ServiceClient.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/src/main/java/org/apache/hadoop/yarn/service/client/ServiceClient.java index 030e0dbf848..49a10531743 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/src/main/java/org/apache/hadoop/yarn/service/client/ServiceClient.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/src/main/java/org/apache/hadoop/yarn/service/client/ServiceClient.java @@ -1347,7 +1347,7 @@ public class ServiceClient extends AppAdminClient implements SliderExitCodes, LOG.info("Persisted service " + service.getName() + " at " + appJson); return appId; } else { - LOG.info("Finalize service {} upgrade"); + LOG.info("Finalize service {} upgrade", serviceName); ApplicationId appId = getAppId(serviceName); ApplicationReport appReport = yarnClient.getApplicationReport(appId); if (StringUtils.isEmpty(appReport.getHost())) {