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:00:00 GMT

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

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

SUCCESS: Integrated in Jenkins build Ambari-branch-2.6 #252 (See [https://builds.apache.org/job/Ambari-branch-2.6/252/])
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=f64d027dbab94a93dc434b5698afef9b83c71e30])
* (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