You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2012/07/19 14:40:36 UTC
[jira] [Commented] (HDFS-3516) Check content-type in
WebHdfsFileSystem
[ https://issues.apache.org/jira/browse/HDFS-3516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418254#comment-13418254 ]
Hudson commented on HDFS-3516:
------------------------------
Integrated in Hadoop-Hdfs-0.23-Build #318 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/318/])
svn merge -c 1353800 FIXES: HDFS-3516. Check content-type in WebHdfsFileSystem. (Revision 1363000)
Result = SUCCESS
daryn : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1363000
Files :
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsFileSystemContract.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/WebHdfsTestUtil.java
> 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
> Fix For: 1.1.0, 2.1.0-alpha
>
> Attachments: h3516_20120607.patch, h3516_20120608.patch, h3516_20120609.patch, h3516_20120609_b-1.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