An HDFS file descriptor.
name | data type | constraints | description |
---|---|---|---|
absolutePath | string | Fully qualified path of file. | |
length | number | required | Size of file. |
dir | boolean | required | Indicates whether the file is a directory. |
replication | number | required | Configured block replication factor of file. |
blockSize | number | required | Configured block size of file in bytes. |
modificationTime | string | Last modification time of file in milliseconds since January 1, 1970 UTC. | |
accessTime | string | Last access time of file in milliseconds since January 1, 1970 UTC. | |
permission | number | required | Permission of the file where the digits in order represent: Sticky bit, User action, Group action, Other action. |
owner | string | Owner of the file. | |
group | string | Group of the file. |
Example
{ "absolutePath" : "...", "length" : 12345, "dir" : true, "replication" : 12345, "blockSize" : 12345, "modificationTime" : "...", "accessTime" : "...", "permission" : 12345, "owner" : "...", "group" : "..." }