You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/02/02 23:54:43 UTC

[jira] [Commented] (AMBARI-9339) Oozie Downgrade Fails Because Upgrade Behavior Is Used

    [ https://issues.apache.org/jira/browse/AMBARI-9339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14302122#comment-14302122 ] 

Hudson commented on AMBARI-9339:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit-docker #841 (See [https://builds.apache.org/job/Ambari-trunk-Commit-docker/841/])
AMBARI-9339 - Oozie Downgrade Fails Because Upgrade Behavior Is Used (jonathanhurley) (jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=5cef47f44d99a33945a44cf8d8b830ab8f8cb930)
* ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server_upgrade.py
* ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_server.py
* ambari-server/src/test/python/stacks/2.2/configs/oozie-downgrade.json
* ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params.py


> Oozie Downgrade Fails Because Upgrade Behavior Is Used
> ------------------------------------------------------
>
>                 Key: AMBARI-9339
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9339
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9339.patch
>
>
> During a downgrade, the Oozie scripts need to understand that a downgrade is occurring. This is because there is a step that happens before {{prepare-war}} where {{hadoop-lzo*.jar}} is copied to a location so that {{prepare-war}} can use it.
> However, hadoop-lzo*.jar does not exist in HDP 2.2.0.0 and does exist in 2.2.1.0. 
> The oozie scripts should produce an error if this file is not found and that is correct - but only for upgrade.
> This is part of a larger issue where the upgrade/downgrade status needs to be available for the scripts. It currently is not.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)