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

Webhdfs "SETOWNER" call returns incorrect content-type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.2
    • 1.0.2, 0.23.2
    • webhdfs
    • None
    • Reviewed

    Description

      The SETOWNER call returns an empty body. But the header has "Content-Type: application/json", which is a contradiction (empty string is not valid json). This appears to happen for SETTIMES and SETPERMISSION as well.

      Attachments

        1. h3006_20120223.patch
          3 kB
          Tsz-wo Sze
        2. h3006_20120224.patch
          4 kB
          Tsz-wo Sze
        3. h3006_20120224b.patch
          5 kB
          Tsz-wo Sze
        4. h3006_20120224c_branch1.patch
          8 kB
          Tsz-wo Sze
        5. h3006_20120224c.patch
          9 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              bcwalrus bc Wong
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: