hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-3006) Webhdfs "SETOWNER" call returns incorrect content-type
Date Fri, 24 Feb 2012 03:35:57 GMT

     [ https://issues.apache.org/jira/browse/HDFS-3006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Tsz Wo (Nicholas), SZE updated HDFS-3006:

    Attachment: h3006_20120223.patch

Hi bc, thanks for catching this.

h3006_20120223.patch: don't set content type when the response is empty.
> Webhdfs "SETOWNER" call returns incorrect content-type
> ------------------------------------------------------
>                 Key: HDFS-3006
>                 URL: https://issues.apache.org/jira/browse/HDFS-3006
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.23.2
>            Reporter: bc Wong
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: h3006_20120223.patch
> 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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message