[
https://issues.apache.org/jira/browse/HDFS-4513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo Nicholas Sze updated HDFS-4513:
--------------------------------------
Resolution: Fixed
Fix Version/s: 2.1.1-beta
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
I committed this some time back.
> 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
> Fix For: 2.1.1-beta
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)