Andrew Onischuk created AMBARI-22003:
----------------------------------------
Summary: 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
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)