Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-12877

File Browser view - Downloading a directory always creates a zip with name hdfs.zip

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.1.2
    • ambari-views

    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.

      Attachments

        1. zipfile_name_file_view.patch
          5 kB
          Nitiraj Singh Rathore

        Issue Links

          Activity

            People

              nitiraj.rathore Nitiraj Singh Rathore
              nitiraj.rathore Nitiraj Singh Rathore
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: