FetchHDFS 2.3.0.4.10.0.0-147

Bundle
org.apache.nifi | nifi-hadoop-nar
Description
Retrieves a file from HDFS. The content of the incoming FlowFile is replaced by the content of the file in HDFS. The file in HDFS is left intact without any changes being made to it.
Tags
fetch, get, hadoop, hcfs, hdfs, ingest, source
Input Requirement
REQUIRED
Supports Sensitive Dynamic Properties
false
Properties
Restrictions
Required Permission Explanation
read distributed filesystem Provides operator the ability to retrieve any file that NiFi has access to in HDFS or the local filesystem.
Relationships
Name Description
comms.failure FlowFiles will be routed to this relationship if the content of the HDFS file cannot be retrieve due to a communications failure. This generally indicates that the Fetch should be tried again.
failure FlowFiles will be routed to this relationship if the content of the HDFS file cannot be retrieved and trying again will likely not be helpful. This would occur, for instance, if the file is not found or if there is a permissions issue
success FlowFiles will be routed to this relationship once they have been updated with the content of the HDFS file
Writes Attributes
Name Description
hdfs.failure.reason When a FlowFile is routed to 'failure', this attribute is added indicating why the file could not be fetched from HDFS
hadoop.file.url The hadoop url for the file is stored in this attribute.
See Also