Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2606

webhdfs client filesystem impl must set the content-type header for create/append

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.23.1, 2.0.0-alpha
    • Fix Version/s: 0.23.1
    • Component/s: webhdfs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently the content-type header is not being set and for some reason for append it is being set to the form encoded content type making jersey parameter parsing fail.

      For this and to avoid any kind of proxy transcoding the content-type should be set to binary.

        conn.setRequestProperty("Content-Type", "application/octet-stream");
      
      1. HDFS-2606.patch
        0.8 kB
        Alejandro Abdelnur

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Alejandro Abdelnur
              Reporter:
              Alejandro Abdelnur
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development