HDFS NAR Provider
This implementation is capable of downloading NAR files from an HDFS file system.
The value of the nifi.nar.library.provider.<providerName>.implementation
must be org.apache.nifi.nar.hadoop.HDFSNarProvider
. The following further properties are defined by the provider:
Name | Description |
---|---|
resources |
List of HDFS resources, separated by comma. |
source.directory |
The source directory of NAR files within HDFS. Note: the provider does not check for files recursively. |
storage.location |
Optional. If set the storage location defined in the core-site.xml will be overwritten by this value. |
kerberos.principal |
Optional. Kerberos principal to authenticate as. |
kerberos.keytab |
Optional. Kerberos keytab associated with the principal. |
kerberos.password |
Optional. Kerberos password associated with the principal. |
Example configuration:
nifi.nar.library.provider.hdfs1.implementation=org.apache.nifi.nar.hadoop.HDFSNarProvider
nifi.nar.library.provider.hdfs1.resources=/etc/hadoop/core-site.xml
nifi.nar.library.provider.hdfs1.source.directory=/customNars
nifi.nar.library.provider.hdfs2.implementation=org.apache.nifi.nar.hadoop.HDFSNarProvider
nifi.nar.library.provider.hdfs2.resources=/etc/hadoop/core-site.xml
nifi.nar.library.provider.hdfs2.source.directory=/other/dir/for/customNars