ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12877) File Browser view - Downloading a directory always creates a zip with name hdfs.zip
Date Mon, 31 Aug 2015 21:25:46 GMT

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

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

SUCCESS: Integrated in Ambari-trunk-Commit #3356 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3356/])
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=fc64eae4f59786cb190c61a5a5156d42f90fa203)
* contrib/views/files/src/main/java/org/apache/ambari/view/filebrowser/DownloadService.java
* contrib/views/files/src/test/java/org/apache/ambari/view/filebrowser/FilebrowserTest.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)

Mime
View raw message