YARN-9682. Wrong log message when finalizing the upgrade. Contributed by kyungwan nam.
(cherry picked from commit 85d9111a88f94a5e6833cd142272be2c5823e922)
This commit is contained in:
parent
4866735cde
commit
bf3d9f6282
@ -1205,7 +1205,7 @@ public ApplicationId actionStartAndGetId(String serviceName) throws
|
||||
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())) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user