ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-21451) Expected Values Like original_stack Are Missing On Downgrades
Date Wed, 12 Jul 2017 18:44:00 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-21451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Hurley updated AMBARI-21451:
-------------------------------------
    Status: Patch Available  (was: Open)

> Expected Values Like original_stack Are Missing On Downgrades
> -------------------------------------------------------------
>
>                 Key: AMBARI-21451
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21451
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.2
>            Reporter: Vivek Sharma
>            Assignee: Jonathan Hurley
>            Priority: Blocker
>              Labels: express_upgrade
>             Fix For: 2.5.2
>
>
> *STR*
> # Deployed cluster with Ambari version: 2.4.3.0-30 and HDP version: 2.5.5.0-157
> # Upgrade Ambari to 2.5.2.0-114 | hash: d2ee45733e0c63d589f535866e6584b42d91126e
> # Start EU to 2.6.2.0-79 and reach till Finalize
> # Downgrade back to 2.5
> *Result*
> Observed errors at Livy and Spark client restarts:
> {code}
> 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!
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message