YARN-8610. Fixed initiate upgrade error message.

Contributed by Chandni Singh

(cherry picked from commit 23f394240e)
This commit is contained in:
Eric Yang 2018-08-01 20:41:43 -04:00
parent c8fbe7921b
commit 680dac26d8
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,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);
}