hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4513) Clarify WebHDFS REST API that all JSON respsonses may contain additional properties
Date Thu, 01 Aug 2013 13:19:48 GMT

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

Hudson commented on HDFS-4513:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #1478 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1478/])
HDFS-4513. Clarify in the WebHDFS REST API that all JSON respsonses may contain additional
properties. (szetszwo: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1509075)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/WebHDFS.apt.vm

                
> Clarify WebHDFS REST API that all JSON respsonses may contain additional properties
> -----------------------------------------------------------------------------------
>
>                 Key: HDFS-4513
>                 URL: https://issues.apache.org/jira/browse/HDFS-4513
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: documentation, webhdfs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>         Attachments: h4513_20130513.patch, h4513_20130731.patch
>
>
> According to Section 5.4 in http://tools.ietf.org/id/draft-zyp-json-schema-03.html, the
default value of "additionalProperties" is an empty schema which allows any value for additional
properties.  Therefore, all WebHDFS JSON responses allow any additional property since the
WebHDFS REST API do not specify additionalProperties.
> However, it is better to clarify in the API that all JSON respsonses may contain additional
properties.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message