[ 
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_20120224c.patch

h3006_20120224c.patch:
- changes the content type in more places;
- also changes @Produces annotation;
- adds a unit test;
- reverts the change in HttpFs since the simple fix won't work and I am not 
able to spend much time on it.
                
> 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, h3006_20120224c.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

        

Reply via email to