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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16339328#comment-16339328 ] 

Hudson commented on AMBARI-22413:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #8638 (See [https://builds.apache.org/job/Ambari-trunk-Commit/8638/])
AMBARI-22413 fix tar_archive.archive_directory_dereference (benyoka) (github: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=e8366084456b652adb83a33bf56a56d17681bf98])
* (edit) ambari-common/src/main/python/resource_management/libraries/functions/tar_archive.py
* (edit) ambari-server/src/test/python/stacks/2.2/KNOX/test_knox_gateway.py
* (edit) ambari-server/src/test/python/stacks/2.1/FALCON/test_falcon_server.py


> 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
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)