YARN-9682. Wrong log message when finalizing the upgrade. Contributed by kyungwan nam.

(cherry picked from commit 85d9111a88)
This commit is contained in:
Weiwei Yang 2019-07-17 10:28:20 +08:00
parent 4866735cde
commit bf3d9f6282
1 changed files with 1 additions and 1 deletions

View File

@ -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())) {