You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/01/25 14:06:00 UTC

[jira] [Updated] (AMBARI-22413) Fix tar_archive.py: 1. remove verbosity flags, 2. fix archive_dir() and archive_directory_dereference() methods

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

ASF GitHub Bot updated AMBARI-22413:
------------------------------------
    Labels: pull-request-available  (was: )

> Fix tar_archive.py: 1. remove verbosity flags, 2. fix archive_dir() and archive_directory_dereference() methods
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-22413
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22413
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.2
>            Reporter: Balázs Bence Sári
>            Assignee: Balázs Bence Sári
>            Priority: Critical
>              Labels: pull-request-available
>         Attachments: AMBARI-22413-fix-tar-trunk_v1.patch
>
>
> There are two issues with tar_archive.py which caused a HDP upgrade to fail at a customer:
> # The verbose flag (-v) is switched on. This could result in long archival time and timeouts
> # The full path of the files is preserverved in the archive without the leading slash. This results in doubled paths when the archive is expanded. 
> E.g:
> The contents of _/hadoop/falcon/_ directory is archived.
> All files are archived with full path but no leading slash: _hadoop/falcon/<directories>/<filename>_
> After unpacking the unpacked file will look like: _/hadoop/falcon/hadoop/falcon/<directories>/<filename>_.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)