ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (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 09:05:00 GMT

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

Hudson commented on AMBARI-22003:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8100 (See [https://builds.apache.org/job/Ambari-trunk-Commit/8100/])
AMBARI-22003. Ambari schema upgrade failure as views destination path (aonishuk: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=c8832728ad0ebb545bd8795de23d0b859af23d1a])
* (edit) ambari-server/src/main/python/ambari_server/serverUpgrade.py


> 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