HDFS-6153. Document "fileId" and "childrenNum" fields in the FileStatus Json schema
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1588258 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dd7d032457
commit
eb1d4c39e0
@ -359,6 +359,9 @@ Release 2.5.0 - UNRELEASED
|
|||||||
|
|
||||||
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)
|
||||||
|
|
||||||
Release 2.4.1 - UNRELEASED
|
Release 2.4.1 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -482,6 +482,8 @@ Transfer-Encoding: chunked
|
|||||||
{
|
{
|
||||||
"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,
|
||||||
@ -523,6 +525,8 @@ Content-Length: 427
|
|||||||
{
|
{
|
||||||
"accessTime" : 1320171722771,
|
"accessTime" : 1320171722771,
|
||||||
"blockSize" : 33554432,
|
"blockSize" : 33554432,
|
||||||
|
"childrenNum" : 0,
|
||||||
|
"fileId" : 16387,
|
||||||
"group" : "supergroup",
|
"group" : "supergroup",
|
||||||
"length" : 24930,
|
"length" : 24930,
|
||||||
"modificationTime": 1320171722771,
|
"modificationTime": 1320171722771,
|
||||||
@ -535,6 +539,8 @@ Content-Length: 427
|
|||||||
{
|
{
|
||||||
"accessTime" : 0,
|
"accessTime" : 0,
|
||||||
"blockSize" : 0,
|
"blockSize" : 0,
|
||||||
|
"childrenNum" : 2,
|
||||||
|
"fileId" : 16388,
|
||||||
"group" : "supergroup",
|
"group" : "supergroup",
|
||||||
"length" : 0,
|
"length" : 0,
|
||||||
"modificationTime": 1320895981256,
|
"modificationTime": 1320895981256,
|
||||||
@ -1331,6 +1337,18 @@ 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.",
|
||||||
|
Loading…
Reference in New Issue
Block a user