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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.23.1, 2.0.0-alpha
    • 0.23.1
    • webhdfs
    • None
    • 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");
      

      Attachments

        1. HDFS-2606.patch
          0.8 kB
          Alejandro Abdelnur

        Issue Links

          Activity

            People

              tucu00 Alejandro Abdelnur
              tucu00 Alejandro Abdelnur
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: