ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-20980) RU: RESTART SPARK2/SPARK2_CLIENT failed
Date Wed, 10 May 2017 14:16:04 GMT

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

Dmitry Lysnichenko updated AMBARI-20980:
----------------------------------------
    Attachment: AMBARI-20980.patch

> 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
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>            Priority: Blocker
>         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)

Mime
View raw message