Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3794

WebHDFS Open used with Offset returns the original (and incorrect) Content Length in the HTTP Header.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.3, 2.0.0-alpha, 1-win, 1.3.0
    • Fix Version/s: 0.23.3, 2.0.2-alpha
    • Component/s: webhdfs
    • Labels:
      None

      Description

      When an offset is specified, the HTTP header Content Length still contains the original file size. e.g. if the original file is 100 bytes, and the offset specified it 10, then HTTP Content Length ought to be 90. Currently it is still returned as 100.
      This causes curl to give error 18, and JAVA to throw ConnectionClosedException

        Attachments

        1. HDFS-3794_branch-1.patch
          0.7 kB
          Tsz Wo Nicholas Sze
        2. HDFS-3794.patch
          0.9 kB
          Ravi Prakash
        3. HDFS-3794.patch
          1.0 kB
          Ravi Prakash

          Activity

            People

            • Assignee:
              raviprak Ravi Prakash
              Reporter:
              raviprak Ravi Prakash
            • Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: