[
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_20120224b.patch
The content-type is still JSON even if it is not set in the code. It is using
the preivous content-type.
h3006_20120224b.patch: setting it to APPLICATION_OCTET_STREAM.
> 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, h3006_20120224.patch,
> h3006_20120224b.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