hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ey...@apache.org
Subject hadoop git commit: YARN-8610. Fixed initiate upgrade error message. Contributed by Chandni Singh
Date Thu, 02 Aug 2018 00:44:03 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-3.1 c8fbe7921 -> 680dac26d


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

(cherry picked from commit 23f394240e1568a38025e63e9dc0842e8c5235f7)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/680dac26
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/680dac26
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/680dac26

Branch: refs/heads/branch-3.1
Commit: 680dac26d80ad863ebd6445a180d82a6876a0dfc
Parents: c8fbe79
Author: Eric Yang <eyang@apache.org>
Authored: Wed Aug 1 20:41:43 2018 -0400
Committer: Eric Yang <eyang@apache.org>
Committed: Wed Aug 1 20:43:22 2018 -0400

----------------------------------------------------------------------
 .../java/org/apache/hadoop/yarn/service/client/ServiceClient.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/680dac26/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
----------------------------------------------------------------------
diff --git a/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
b/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
index b5773a6..2d1f1b2 100644
--- a/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
+++ b/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);
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message