ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitiraj Singh Rathore (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-12877) File Browser view - Downloading a directory always creates a zip with name hdfs.zip
Date Wed, 26 Aug 2015 09:21:45 GMT

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

Nitiraj Singh Rathore updated AMBARI-12877:
-------------------------------------------
    Description: 
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.


  was:
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.



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