GetHDFS 2.3.0.4.10.0.0-147

Bundle
org.apache.nifi | nifi-hadoop-nar
Description
Fetch files from Hadoop Distributed File System (HDFS) into FlowFiles. This Processor will delete the file from HDFS after fetching it.
Tags
HCFS, HDFS, fetch, filesystem, get, hadoop, ingest, source
Input Requirement
FORBIDDEN
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.
write distributed filesystem Provides operator the ability to delete any file that NiFi has access to in HDFS or the local filesystem.
Relationships
Name Description
success All files retrieved from HDFS are transferred to this relationship
Writes Attributes
Name Description
filename The name of the file that was read from HDFS.
path The path is set to the relative path of the file's directory on HDFS. For example, if the Directory property is set to /tmp, then files picked up from /tmp will have the path attribute set to "./". If the Recurse Subdirectories property is set to true and a file is picked up from /tmp/abc/1/2/3, then the path attribute will be set to "abc/1/2/3".
See Also