[ https://issues.apache.org/jira/browse/AMBARI-22413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16248207#comment-16248207 ]
Hadoop QA commented on AMBARI-22413: ------------------------------------ {color:green}+1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12897101/AMBARI-22413-fix-tar-trunk_v1.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 2 new or modified test files. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 core tests{color}. The patch passed unit tests in ambari-server. Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/12650//console This message is automatically generated. > 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)