You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sm...@apache.org on 2013/12/13 18:41:56 UTC

git commit: AMBARI-4061. Upgraded cluster may be missing yarn job summary entries.

Updated Branches:
  refs/heads/trunk 34b1cb86a -> 227bb3752


AMBARI-4061. Upgraded cluster may be missing yarn job summary entries.


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/227bb375
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/227bb375
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/227bb375

Branch: refs/heads/trunk
Commit: 227bb375280014f1b0aecdaf5a870b396e80f3a3
Parents: 34b1cb8
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Thu Dec 12 18:06:04 2013 -0800
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Fri Dec 13 09:40:56 2013 -0800

----------------------------------------------------------------------
 ambari-server/src/main/python/UpgradeHelper_HDP2.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/227bb375/ambari-server/src/main/python/UpgradeHelper_HDP2.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/python/UpgradeHelper_HDP2.py b/ambari-server/src/main/python/UpgradeHelper_HDP2.py
index c9b8a3b..8a74be5 100644
--- a/ambari-server/src/main/python/UpgradeHelper_HDP2.py
+++ b/ambari-server/src/main/python/UpgradeHelper_HDP2.py
@@ -989,8 +989,8 @@ def backup_single_config_type(options, type, error_if_na=True):
 def install_services(options):
   SERVICE_URL_FORMAT = URL_FORMAT + '/services/{2}'
   SERVICES = ["YARN", "MAPREDUCE2"]
-  PUT_IN_INSTALLED = ["""{"RequestInfo":{"context":"Install YARN"}, "Body":{"ServiceInfo": {"state":"INSTALLED"}}}""",
-                      """{"RequestInfo":{"context":"Install MapReduce2"}, "Body":{"ServiceInfo": {"state":"INSTALLED"}}}"""]
+  PUT_IN_INSTALLED = ["""{"RequestInfo":{"context":"Install MapReduce2"}, "Body":{"ServiceInfo": {"state":"INSTALLED"}}}""",
+                      """{"RequestInfo":{"context":"Install YARN"}, "Body":{"ServiceInfo": {"state":"INSTALLED"}}}"""]
   err_retcode = 0
   err_message = ""
   for index in [0, 1]: