YARN-9682. Wrong log message when finalizing the upgrade. Contributed by kyungwan nam.
This commit is contained in:
parent
5915c902aa
commit
85d9111a88
@ -1347,7 +1347,7 @@ public ApplicationId actionStartAndGetId(String serviceName) throws
|
|||||||
LOG.info("Persisted service " + service.getName() + " at " + appJson);
|
LOG.info("Persisted service " + service.getName() + " at " + appJson);
|
||||||
return appId;
|
return appId;
|
||||||
} else {
|
} else {
|
||||||
LOG.info("Finalize service {} upgrade");
|
LOG.info("Finalize service {} upgrade", serviceName);
|
||||||
ApplicationId appId = getAppId(serviceName);
|
ApplicationId appId = getAppId(serviceName);
|
||||||
ApplicationReport appReport = yarnClient.getApplicationReport(appId);
|
ApplicationReport appReport = yarnClient.getApplicationReport(appId);
|
||||||
if (StringUtils.isEmpty(appReport.getHost())) {
|
if (StringUtils.isEmpty(appReport.getHost())) {
|
||||||
|
Loading…
Reference in New Issue
Block a user