Description:

Write FlowFile data to Hadoop Distributed File System (HDFS)

Additional Details...

Tags: hadoop, HDFS, put, copy, filesystem

Properties:

In the list below, the names of required properties appear in bold. Anyother properties (not in bold) are considered optional. The table also indicates any default values, whether a property supports the NiFi Expression Language (or simply EL), and whether a property is considered "sensitive", meaning that its value will be encrypted. Before entering a value in a sensitive property, ensure that the nifi.properties file has an entry for the property nifi.sensitive.props.key.

NameDescriptionDefault ValueValid ValuesELSensitive
Hadoop Configuration ResourcesA file or comma separated list of files which contains the Hadoop file system configuration. Without this, Hadoop will search the classpath for a 'core-site.xml' and 'hdfs-site.xml' file or will revert to a default configuration.NoNo
DirectoryThe parent HDFS directory to which files should be writtenYesNo
Conflict Resolution StrategyIndicates what should happen when a file with the same name already exists in the output directoryfail
  • replace
  • ignore
  • fail
NoNo
Block SizeSize of each block as written to HDFS. This overrides the Hadoop ConfigurationNoNo
IO Buffer SizeAmount of memory to use to buffer file contents during IO. This overrides the Hadoop ConfigurationNoNo
ReplicationNumber of times that HDFS will replicate each file. This overrides the Hadoop ConfigurationNoNo
Permissions umaskA umask represented as an octal number which determines the permissions of files written to HDFS. This overrides the Hadoop Configuration dfs.umaskmodeNoNo
Remote OwnerChanges the owner of the HDFS file to this value after it is written. This only works if NiFi is running as a user that has HDFS super user privilege to change ownerNoNo
Remote GroupChanges the group of the HDFS file to this value after it is written. This only works if NiFi is running as a user that has HDFS super user privilege to change groupNoNo

Relationships:

NameDescription
failureFiles that could not be written to HDFS for some reason are transferred to this relationship
successFiles that have been successfully written to HDFS are transferred to this relationship