hdfs-files
Browse files in the specified directory in the Apache Hadoop HDFS.
hdfs-files [profile=PROFILE] [recursive=t] path=PATH
- profile=PROFILE
- Connect profile name of HDFS
- recursive=t
- Specify 't' to traverse recursively.
- path=PATH
- HDFS path
Output Fields
Field | Type | Name | Description |
---|---|---|---|
profile | String | Connect profile | HDFS connect profile name |
type | String | Type | dir or file |
file_name | String | File name | File name |
file_path | String | File path | Absolute file path |
file_size | Long | File size | File size in bytes |
file_mtime | Date | Last modified | Last modified time |
permission | String | Permission | e.g. rwxrwxrwx |
owner | String | Owner | Owner name |
group | String | Group | Group name. e.g. supergroup |
replication | Short | Replication count | e.g. 3 |
block_size | Long | Block size | e.g. 134217728 |