You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Nitiraj Singh Rathore (JIRA)" <ji...@apache.org> on 2015/08/26 11:20:45 UTC

[jira] [Updated] (AMBARI-12877) File Browser view - Downloading a directory always creates a zip with name hdfs.zip

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

Nitiraj Singh Rathore updated AMBARI-12877:
-------------------------------------------
    Attachment: zipfile_name_file_view.patch

adding the patch file for resolving the bug

> File Browser view - Downloading a directory always creates a zip with name hdfs.zip
> -----------------------------------------------------------------------------------
>
>                 Key: AMBARI-12877
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12877
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.1.0
>            Reporter: Nitiraj Singh Rathore
>             Fix For: 2.1.2
>
>         Attachments: zipfile_name_file_view.patch
>
>
> Create a directory using FIle browser view. Try to download it , it always gets downloaded with hdfs.zip -- instead of the file name. 
> It is much better if the zip is named after the directory that gets zipped instead of the user how owns it.
> Repro:
> 1) create test1 and test2 directories
> 2) click on download icon
> 3) both directories will be downloaded as hdfs.zip
> If multiple files/folders are downloaded then the zip file is hardcoded to be named hdfs.zip . But if single file or folder is downloaded then it will be named after the downloaded file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)