ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaly Brodetskyi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-21263) Ambari 2.5.1 upgrade fails with HDPSearch mpack installed
Date Thu, 15 Jun 2017 17:11:00 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-21263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vitaly Brodetskyi updated AMBARI-21263:
---------------------------------------
    Status: Patch Available  (was: Open)

> Ambari 2.5.1 upgrade fails with HDPSearch mpack installed
> ---------------------------------------------------------
>
>                 Key: AMBARI-21263
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21263
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-upgrade
>    Affects Versions: 2.5.1
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>             Fix For: 2.5.2
>
>         Attachments: AMBARI-21263.patch
>
>
> {code}
> INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
> Traceback (most recent call last):
>   File "/usr/sbin/ambari-server.py", line 941, in <module>
>     mainBody()
>   File "/usr/sbin/ambari-server.py", line 911, in mainBody
>     main(options, args, parser)
>   File "/usr/sbin/ambari-server.py", line 863, 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 363, in
upgrade
>     replay_mpack_logs()
>   File "/usr/lib/python2.6/site-packages/ambari_server/setupMpacks.py", line 983, in
replay_mpack_logs
>     install_mpack(replay_options, replay_mode=True)
>   File "/usr/lib/python2.6/site-packages/ambari_server/setupMpacks.py", line 896, in
install_mpack
>     (mpack_metadata, mpack_name, mpack_version, mpack_staging_dir, mpack_archive_path)
= _install_mpack(options, replay_mode)
>   File "/usr/lib/python2.6/site-packages/ambari_server/setupMpacks.py", line 792, in
_install_mpack
>     process_service_definitions_artifact(artifact, artifact_source_dir, options)
>   File "/usr/lib/python2.6/site-packages/ambari_server/setupMpacks.py", line 515, in
process_service_definitions_artifact
>     create_symlink(src_service_definitions_dir, dest_service_definitions_dir, file, options.force)
>   File "/usr/lib/python2.6/site-packages/ambari_server/setupMpacks.py", line 235, in
create_symlink
>     create_symlink_using_path(src_path, dest_link, force)
>   File "/usr/lib/python2.6/site-packages/ambari_server/setupMpacks.py", line 247, in
create_symlink_using_path
>     sudo.symlink(src_path, dest_link)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/sudo.py", line 123,
in symlink
>     os.symlink(source, link_name)
> OSError: [Errno 17] File exists
> {code}



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

Mime
View raw message