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

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

Hadoop QA commented on AMBARI-12877:
------------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12752426/zipfile_name_file_view.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 1 new or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in contrib/views/files.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3644//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3644//console

This message is automatically generated.

> 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)