ListFileStatus
The ListFileStatus activity is used to list the status of the specified file or directory.
Regarding the specified directory, the activity returns the status of all files and directories in the specified directory.
Output
The output of the activity are as follows.
| Output Item | Data Type | Description |
|---|---|---|
| fileinfo | ||
| accessTime | long | Returns the access time of the file in milliseconds. |
| blockSize | long | Returns the block size of the file. |
| length | long | Returns the number of bytes in a file. |
| modificationTime | long | Returns the modification time of the file in milliseconds. |
| replication | long | Returns the number of replications of the file. |
| owner | string | Returns the user name of the file owner. |
| type | string | Returns the type of the path object, FILE or DIRECTORY. |
| group | string | Returns the group associated with the file. |
| permission | string | Returns the permission of the file. |
| pathSuffix | string | Returns the path suffix of the file. |
Fault
The Fault tab lists the exceptions that can be thrown by this activity.
| HDFSException | Description |
|---|---|
| msg | The error message description returned by the plug-in. |
| msgCode | The error code returned by the plug-in. |
| exception | Occurs when the plug-in has internal errors. |
| message | The error message returned by the server. |
| javaClassName | The name of the Java Class where an error occurred. |
Copyright © Cloud Software Group, Inc. All Rights Reserved.
to select an HDFS Connection shared resource.