ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12778) RU: Downgrade Fails For All Components From Finalize
Date Mon, 17 Aug 2015 05:50:45 GMT

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

Hudson commented on AMBARI-12778:
---------------------------------

FAILURE: Integrated in Ambari-branch-2.1 #379 (See [https://builds.apache.org/job/Ambari-branch-2.1/379/])
AMBARI-12778 - RU: Downgrade Fails For All Components From Finalize (jonathanhurley) (jhurley:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b99c56849308e6b60dc9f2ae6dbe8fff39e0d1ff)
* ambari-server/src/test/python/custom_actions/test_ru_set_all.py
* ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/flume_handler.py
* ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.3.xml
* ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/flume_upgrade.py
* ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/params_linux.py
* ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py
* ambari-server/src/main/resources/custom_actions/scripts/ru_set_all.py


> RU: Downgrade Fails For All Components From Finalize
> ----------------------------------------------------
>
>                 Key: AMBARI-12778
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12778
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.0
>         Environment: HDP 2.2 to 2.3 (Downgrade after finalize)
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Blocker
>             Fix For: 2.1.1
>
>         Attachments: AMBARI-12778.patch
>
>
> When downgrading a rolling upgrade from HDP 2.3 back to HDP 2.2, all components will
fail with:
> {code}
>  Fail("Applying %s failed, looped symbolic links found while resolving %s" % (self.resource,
path))
> resource_management.core.exceptions.Fail: Applying Directory['/usr/hdp/current/flume-server/conf']
failed, looped symbolic links found while resolving /usr/hdp/current/flume-server/conf
> {code}
> The problem is that Ambari changes {{/etc/component/conf}} from a directory to a symlink
when upgrading to HDP 2.3 from HDP 2.2. During the downgrade, once the component is put back
in HDP 2.2, the following is observed:
> {code}
> [root@c6401 flume]# ls -l /etc/flume
> total 8
> drwxr-xr-x 3 root  root 4096 Aug 14 15:44 2.3.2.0-2586
> lrwxrwxrwx 1 root  root   34 Aug 14 16:14 conf -> /usr/hdp/current/flume-server/conf
> drwxr-xr-x 2 flume root 4096 Aug 14 15:42 conf.backup
> (/usr/hdp/2.2.7.0-2816/flume/)
> [root@c6401 flume]# ls -l /usr/hdp/current/flume-server/conf
> total 16
> drwxr-xr-x 2 root root 4096 Aug 14 15:42 bin
> lrwxrwxrwx 1 root root   15 Aug 14 15:42 conf -> /etc/flume/conf
> drwxr-xr-x 9 root root 4096 Aug 14 15:42 docs
> drwxr-xr-x 2 root root 4096 Aug 14 15:42 lib
> drwxr-xr-x 2 root root 4096 Aug 14 15:42 tools
> {code}



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

Mime
View raw message