HDFS-16779. Add ErasureCodingPolicy information to the response description for GETFILESTATUS in WebHDFS.md (#4922)
This commit is contained in:
parent
e0974298ce
commit
87429f443a
|
@ -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",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue