Browse Source

HDFS-10833. Fix JSON errors in WebHDFS.md examples.

(cherry picked from commit cbd909ce2a5ac1da258f756fa1f93e84dd20b926)
(cherry picked from commit 40eab775629f5968348983ac5bc1d2cf5b9b228b)
Andrew Wang 8 years ago
parent
commit
9b7e079d4b
1 changed files with 5 additions and 5 deletions
  1. 5 5
      hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md

+ 5 - 5
hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md

@@ -1163,7 +1163,7 @@ All operations, except for [`OPEN`](#Open_and_Read_a_File), either return a zero
       {
         "entries":
         {
-          "type": "array"
+          "type": "array",
           "items":
           {
             "description": "ACL entry.",
@@ -1187,7 +1187,7 @@ All operations, except for [`OPEN`](#Open_and_Read_a_File), either return a zero
           "description": "True if the sticky bit is on.",
           "type"       : "boolean",
           "required"   : true
-        },
+        }
       }
     }
   }
@@ -1206,7 +1206,7 @@ All operations, except for [`OPEN`](#Open_and_Read_a_File), either return a zero
       "type"      : "array",
       "items":
       {
-        "type"    " "object",
+        "type"    : "object",
         "properties":
         {
           "name":
@@ -1237,7 +1237,7 @@ All operations, except for [`OPEN`](#Open_and_Read_a_File), either return a zero
     "XAttrNames":
     {
       "description": "XAttr names.",
-      "type"       : "string"
+      "type"       : "string",
       "required"   : true
     }
   }
@@ -1606,7 +1606,7 @@ See also: [`GETHOMEDIRECTORY`](#Get_Home_Directory), [Path](../../api/org/apache
         "javaClassName":                                     //an optional property
         {
           "description": "Java class name of the exception",
-          "type"       : "string",
+          "type"       : "string"
         }
       }
     }