HDFS-16779. Add ErasureCodingPolicy information to the response description for GETFILESTATUS in WebHDFS.md (#4922)

This commit is contained in:
ZanderXu 2022-11-25 09:26:28 +08:00 committed by GitHub
parent e0974298ce
commit 87429f443a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

View File

@ -517,6 +517,7 @@ See also: [`newlength`](#New_Length), [FileSystem](../../api/org/apache/hadoop/f
"replication" : 0, "replication" : 0,
"snapshotEnabled" : true "snapshotEnabled" : true
"type" : "DIRECTORY" //enum {FILE, DIRECTORY, SYMLINK} "type" : "DIRECTORY" //enum {FILE, DIRECTORY, SYMLINK}
"ecPolicy" : "RS-6-3-1024k"
} }
} }
@ -2311,6 +2312,26 @@ var fileStatusProperties =
"description": "The type of the path object.", "description": "The type of the path object.",
"enum" : ["FILE", "DIRECTORY", "SYMLINK"], "enum" : ["FILE", "DIRECTORY", "SYMLINK"],
"required" : true "required" : true
},
"aclBit":
{
"description": "Has ACLs set or not.",
"type" : "boolean",
},
"encBit":
{
"description": "Is Encrypted or not.",
"type" : "boolean",
},
"ecBit":
{
"description": "Is ErasureCoded or not.",
"type" : "boolean",
},
"ecPolicy":
{
"description": "The namenode of ErasureCodePolicy.",
"type" : "String",
} }
} }
}; };