YARN-9682. Wrong log message when finalizing the upgrade. Contributed by kyungwan nam.
(cherry picked from commit 85d9111a88
)
This commit is contained in:
parent
4866735cde
commit
bf3d9f6282
|
@ -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())) {
|
||||
|
|
Loading…
Reference in New Issue