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

Different file size when downloading zip file on HDFS File View

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: ambari-views
    • Labels:
      None

      Description

      STR:
      dd if=/dev/zero of=/tmp/file3 bs=900000 count=1
      sudo -u hdfs hdfs dfs -put /tmp/file3 /tmp/file3
      Download file as zip using File View.
      Unzip.
      Original file had 900 000 bytes size, unzipped one has 900 096

        Attachments

        1. AMBARI-12312.patch
          1 kB
          Erik Bergenholtz

          Issue Links

            Activity

              People

              • Assignee:
                bergenholtz Erik Bergenholtz
                Reporter:
                bergenholtz Erik Bergenholtz
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: