[ 
https://issues.apache.org/jira/browse/AMBARI-12877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14724090#comment-14724090
 ] 

Hudson commented on AMBARI-12877:
---------------------------------

FAILURE: Integrated in Ambari-branch-2.1 #450 (See 
[https://builds.apache.org/job/Ambari-branch-2.1/450/])
AMBARI-12877. Ambari File Browser view - Downloading a directory always creates 
a zip with name hdfs.zip. (Nitiraj Singh Rathore via yusaku) (yusaku: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=8959cd5b5d4ed21cfeaeb1b0fdf3d780d4ff0072)
* 
contrib/views/files/src/test/java/org/apache/ambari/view/filebrowser/FilebrowserTest.java
* 
contrib/views/files/src/main/java/org/apache/ambari/view/filebrowser/DownloadService.java


> 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
>              Labels: patch
>             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
> Resolution : 
> If multiple files/folders are downloaded then the zip file name should be 
> hdfs.zip . But if single file or folder is downloaded then it should be named 
> after the downloaded file.



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

Reply via email to