[ https://issues.apache.org/jira/browse/AMBARI-22413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Balázs Bence Sári updated AMBARI-22413: --------------------------------------- Attachment: AMBARI-22413-fix-tar-trunk_v1.patch > 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 > 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 (v6.4.14#64029)