Browse Source

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

Sumit Mohanty 11 years ago
parent
commit
227bb37528
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ambari-server/src/main/python/UpgradeHelper_HDP2.py

+ 2 - 2
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]: