From bf3d9f6282e18321fd4982d3a68a30f0bfad5f50 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. (cherry picked from commit 85d9111a88f94a5e6833cd142272be2c5823e922) --- .../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 3b58f229039..f3b5d6238d7 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 @@ -1205,7 +1205,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())) {