You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Balázs Bence Sári (JIRA)" <ji...@apache.org> on 2017/11/10 13:50:01 UTC

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

Balázs Bence Sári created AMBARI-22413:
------------------------------------------

             Summary: 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


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>_
When unpacking the unpacked file will look like: _/hadoop/falcon/hadoop/falcon/<directories>/<filename>.




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