Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4513

Clarify WebHDFS REST API that all JSON respsonses may contain additional properties

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.1.1-beta
    • documentation, webhdfs
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. h4513_20130513.patch
          1 kB
          Tsz-wo Sze
        2. h4513_20130731.patch
          1 kB
          Tsz-wo Sze

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment