ambari-dev mailing list archives

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

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

Hadoop QA commented on AMBARI-12778:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12750652/AMBARI-12778.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified
test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in ambari-server:

                  org.apache.ambari.server.controller.AmbariManagementControllerTest

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3589//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3589//console

This message is automatically generated.

> 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