Tsz Wo (Nicholas), SZE created HDFS-4513:
--------------------------------------------

             Summary: 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: Bug
          Components: documentation, webhdfs
            Reporter: Tsz Wo (Nicholas), SZE
            Assignee: Tsz Wo (Nicholas), SZE


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

Reply via email to