You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2017/09/20 08:16:00 UTC
[jira] [Updated] (AMBARI-22003) Ambari schema upgrade failure as
views destination path dir already exists
[ https://issues.apache.org/jira/browse/AMBARI-22003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Onischuk updated AMBARI-22003:
-------------------------------------
Status: Patch Available (was: Open)
> 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)