Uploaded image for project: 'Ambari (Retired)'
  1. Ambari (Retired)
  2. AMBARI-21451

Expected Values Like original_stack Are Missing On Downgrades

Details

    Description

      STR

      1. Deployed cluster with Ambari version: 2.4.3.0-30 and HDP version: 2.5.5.0-157
      2. Upgrade Ambari to 2.5.2.0-114 | hash: d2ee45733e0c63d589f535866e6584b42d91126e
      3. Start EU to 2.6.2.0-79 and reach till Finalize
      4. Downgrade back to 2.5

      Result
      Observed errors at Livy and Spark client restarts:

      Traceback (most recent call last):
        File "/var/lib/ambari-agent/cache/common-services/SPARK/1.2.1/package/scripts/spark_client.py", line 88, in <module>
          SparkClient().execute()
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 329, in execute
          method(env)
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 806, in restart
          self.pre_upgrade_restart(env, upgrade_type=upgrade_type)
        File "/var/lib/ambari-agent/cache/common-services/SPARK/1.2.1/package/scripts/spark_client.py", line 79, in pre_upgrade_restart
          import params
        File "/var/lib/ambari-agent/cache/common-services/SPARK/1.2.1/package/scripts/params.py", line 62, in <module>
          stack_version_unformatted = config['commandParams']['original_stack'].split("-")[1]
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py", line 73, in __getattr__
          raise Fail("Configuration parameter '" + self.name + "' was not found in configurations dictionary!")
      resource_management.core.exceptions.Fail: Configuration parameter 'original_stack' was not found in configurations dictionary!
      

      Attachments

        1. AMBARI-21451.patch
          58 kB
          Jonathan Hurley

        Issue Links

          Activity

            People

              jonathanhurley Jonathan Hurley
              shavi71 Vivek Sharma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Slack

                  Issue deployment