浏览代码

Revert "HDFS-6153. Document "fileId" and "childrenNum" fields in the FileStatus Json schema"

This reverts commit eb1d4c39e00e2a962e1a00192b952e1ba8bc4633.
Akira Ajisaka 10 年之前
父节点
当前提交
4308910eed

+ 0 - 3
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -2940,9 +2940,6 @@ Release 2.5.0 - 2014-08-11
 
 
     HDFS-4909. Avoid protocol buffer RPC namespace clashes. (cmccabe)
     HDFS-4909. Avoid protocol buffer RPC namespace clashes. (cmccabe)
 
 
-    HDFS-6153. Document "fileId" and "childrenNum" fields in the FileStatus Json schema
-    (Akira Ajisaka via vinayakumarb)
-
     HDFS-6178. Decommission on standby NN couldn't finish. (Ming Ma via jing9)
     HDFS-6178. Decommission on standby NN couldn't finish. (Ming Ma via jing9)
 
 
     HDFS-6213. TestDataNodeConfig failing on Jenkins runs due to DN web port
     HDFS-6213. TestDataNodeConfig failing on Jenkins runs due to DN web port

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

@@ -426,8 +426,6 @@ See also: [`newlength`](#New_Length), [FileSystem](../../api/org/apache/hadoop/f
           {
           {
             "accessTime"      : 0,
             "accessTime"      : 0,
             "blockSize"       : 0,
             "blockSize"       : 0,
-            "childrenNum"     : 1,
-            "fileId"          : 16386,
             "group"           : "supergroup",
             "group"           : "supergroup",
             "length"          : 0,             //in bytes, zero for directories
             "length"          : 0,             //in bytes, zero for directories
             "modificationTime": 1320173277227,
             "modificationTime": 1320173277227,
@@ -461,8 +459,6 @@ See also: [FileSystem](../../api/org/apache/hadoop/fs/FileSystem.html).getFileSt
               {
               {
                 "accessTime"      : 1320171722771,
                 "accessTime"      : 1320171722771,
                 "blockSize"       : 33554432,
                 "blockSize"       : 33554432,
-                "childrenNum"     : 0,
-                "fileId"          : 16387,
                 "group"           : "supergroup",
                 "group"           : "supergroup",
                 "length"          : 24930,
                 "length"          : 24930,
                 "modificationTime": 1320171722771,
                 "modificationTime": 1320171722771,
@@ -475,8 +471,6 @@ See also: [FileSystem](../../api/org/apache/hadoop/fs/FileSystem.html).getFileSt
               {
               {
                 "accessTime"      : 0,
                 "accessTime"      : 0,
                 "blockSize"       : 0,
                 "blockSize"       : 0,
-                "childrenNum"     : 2,
-                "fileId"          : 16388,
                 "group"           : "supergroup",
                 "group"           : "supergroup",
                 "length"          : 0,
                 "length"          : 0,
                 "modificationTime": 1320895981256,
                 "modificationTime": 1320895981256,
@@ -1323,18 +1317,6 @@ var fileStatusProperties =
       "type"       : "integer",
       "type"       : "integer",
       "required"   : true
       "required"   : true
     },
     },
-    "childrenNum":
-    {
-      "description": "The number of children.",
-      "type"       : "integer",
-      "required"   : true
-    },
-    "fileId":
-    {
-      "description": "The inode ID.",
-      "type"       : "integer",
-      "required"   : true
-    },
     "group":
     "group":
     {
     {
       "description": "The group owner.",
       "description": "The group owner.",