[ 
https://issues.apache.org/jira/browse/HDFS-3516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398768#comment-13398768
 ] 

Daryn Sharp commented on HDFS-3516:
-----------------------------------

+1 Sounds reasonable.
                
> Check content-type in WebHdfsFileSystem
> ---------------------------------------
>
>                 Key: HDFS-3516
>                 URL: https://issues.apache.org/jira/browse/HDFS-3516
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs client
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: h3516_20120607.patch, h3516_20120608.patch, 
> h3516_20120609.patch
>
>
> WebHdfsFileSystem currently tries to parse the response as json.  It may be a 
> good idea to check the content-type before parsing it.

--
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