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

Dmitry Lysnichenko updated AMBARI-20980:
----------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed
To https://git-wip-us.apache.org/repos/asf/ambari.git
   4aff24a915..ef6c72da3e  branch-2.5 -> branch-2.5
   3edbc2c41d..7e2dd63b7a  trunk -> trunk


> RU: RESTART SPARK2/SPARK2_CLIENT failed
> ---------------------------------------
>
>                 Key: AMBARI-20980
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20980
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.1
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>            Priority: Blocker
>             Fix For: 2.5.1
>
>         Attachments: AMBARI-20980.patch
>
>
> STR:
> # Deploy HDP 2.5.3.0-37 on Ambari 2.4.2.0
> # Enable NN HA
> # Upgrade ambari to 2.5.1.0-95
> # Register and install HDP 2.6.1.0-56
> # Perform RU to Finalize
> # Perform Downgrade
> Result: RESTART SPARK2/SPARK2_CLIENT failed during Downgrade
> std.err
> {code}
> Traceback (most recent call last):
> File 
> "/var/lib/ambari-agent/cache/common-services/SPARK2/2.0.0/package/scripts/spark_client.py",
>  line 60, in <module>
> SparkClient().execute()
> File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 315, in execute
> method(env)
> File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 783, in restart
> self.pre_upgrade_restart(env, upgrade_type=upgrade_type)
> File 
> "/var/lib/ambari-agent/cache/common-services/SPARK2/2.0.0/package/scripts/spark_client.py",
>  line 51, in pre_upgrade_restart
> import params
> File 
> "/var/lib/ambari-agent/cache/common-services/SPARK2/2.0.0/package/scripts/params.py",
>  line 209, in <module>
> livy2_pid_dir = status_params.livy2_pid_dir
> AttributeError: 'module' object has no attribute 'livy2_pid_dir'
> {code}
> it was caused by AMBARI-19248 which assumes that livy2_pid_dir is present 
> even if livy2 is not installed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to