YARN-8610. Fixed initiate upgrade error message.

Contributed by Chandni Singh
This commit is contained in:
Eric Yang 2018-08-01 20:41:43 -04:00
parent f2e29acbfa
commit 23f394240e
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ public class ServiceClient extends AppAdminClient implements SliderExitCodes,
if (!liveService.getState().equals(ServiceState.STABLE)) {
String message = service.getName() + " is at " +
liveService.getState()
+ " state, upgrade can not be invoked when service is STABLE.";
+ " state and upgrade can only be initiated when service is STABLE.";
LOG.error(message);
throw new YarnException(message);
}