Read
The Read activity is used to read data from a file in HDFS and place its content into the Output tab of the activity.
General
The General tab has the following fields.
Input
The input of the activity are as follows.
| Input Item | Data Type | Description |
|---|---|---|
| fileName | string | Specifies the path of the file to be read. |
| offset | long | Specifies the starting byte position to be read. The value in this field must be greater than 0. |
| length | long | Specifies the number of bytes to be read. |
| bufferSize | long | Specifies the size of the buffer used in transferring data. The value in this field must be greater than 0. |
Output
The output of the activity varies depending on the file format you chose in the General tab .
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.