Jonathan Hurley created AMBARI-12778:
----------------------------------------

             Summary: 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


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)

Reply via email to