浏览代码

YARN-8610. Fixed initiate upgrade error message.
Contributed by Chandni Singh

(cherry picked from commit 23f394240e1568a38025e63e9dc0842e8c5235f7)

Eric Yang 6 年之前
父节点
当前提交
680dac26d8

+ 1 - 1
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/src/main/java/org/apache/hadoop/yarn/service/client/ServiceClient.java

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