ambari-issues 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-22003) Ambari schema upgrade failure as views destination path dir already exists
Date Wed, 20 Sep 2017 08:48:00 GMT

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

Hadoop QA commented on AMBARI-22003:
------------------------------------

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

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

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified
tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

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

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

    {color:green}+1 core tests{color}.  The patch passed unit tests in ambari-server.

Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/12292//console

This message is automatically generated.

> Ambari schema upgrade failure as views destination path dir already exists
> --------------------------------------------------------------------------
>
>                 Key: AMBARI-22003
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22003
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.6.0
>
>         Attachments: AMBARI-22003.patch
>
>
> Upgrade path from 2.5.10 to 2.6.0.0-107  
> Error seen from the output of "ambari-server upgrade --verbose"
>     
>     
>     
>     [ERROR STREAM]
>     
>     Traceback (most recent call last):
>       File "/usr/sbin/ambari-server.py", line 950, in <module>
>         mainBody()
>       File "/usr/sbin/ambari-server.py", line 920, in mainBody
>         main(options, args, parser)
>       File "/usr/sbin/ambari-server.py", line 872, in main
>         action_obj.execute()
>       File "/usr/sbin/ambari-server.py", line 78, in execute
>         self.fn(*self.args, **self.kwargs)
>       File "/usr/lib/python2.6/site-packages/ambari_server/serverUpgrade.py", line 271,
in upgrade
>         shutil.move(file, root_views_dir)
>       File "/usr/lib64/python2.6/shutil.py", line 250, in move
>         raise Error, "Destination path '%s' already exists" % real_dst
>     shutil.Error: Destination path '/var/lib/ambari-server/resources/views/work/../work'
already exists
>     
>     [EXIT CODE]
>     



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message