Support Questions

Find answers, ask questions, and share your expertise

NIFI 1.5 puthdfs

Explorer

I have installed NIFI 1.5 on windows machine, i am trying to use puthdfs. I have coresite.xml and hdfs-site.xml copied to C:\nifi-1.5.0-bin\nifi-1.5.0\lib\.

In Hadoop coniguration resources i have given C:\nifi-1.5.0-bin\nifi-1.5.0\lib\core-site.xml,C:\nifi-1.5.0-bin\nifi-1.5.0\lib\hdfs-site.xml

What should i specify in Kerberos Principal & Kerberos Keytab properties?

1 REPLY 1

Master Guru
@vishal dutt

I strongly recommend against placing additional files inside NiFi's lib directory. You should create a separate directory such as C:\NiFi\config-resources\ where you place and support files such as your hdfs-site.xml and core-site.xml files you reference in the PutHDFS processor. You just need to make sure the full directory path and the xml files are accessible by the user that is running the NiFi process.

As far as Kerberos Principal and Keytab properties go.... If you HDFS has been kerberized, you will need to create a service keytab/principal for the user running the NiFi service. This user must also be authorized in HDFS to access to target directory path you are trying to put files in.

Thank you,

Matt