Support Questions
Find answers, ask questions, and share your expertise

How to configure NiFi for a Kerberized Hadoop Cluster?

I have NiFi setup on my cluster but it only works in standalone mode. My cluster is Kerberized and NiFi fails to connect when I use cluster mode. Any suggestions on how to get NiFi to work on a Kerberos enabled cluster??

1 ACCEPTED SOLUTION

Are you referring to NiFi interacting with a kerberized hadoop cluster?

If using NiFi 0.3.0 or later, in NIFI_HOME/conf/nifi.properties the last property at the bottom should be:

nifi.kerberos.krb5.file=

Set that to the full path (including filename) of your krb5.conf file and restart NiFi.

On the PutHDFS processor (or other HDFS processors) there are properties for Kerberos Keytab and Kerberos Principal. After setting those you should be able to authenticate.

View solution in original post

2 REPLIES 2

Are you referring to NiFi interacting with a kerberized hadoop cluster?

If using NiFi 0.3.0 or later, in NIFI_HOME/conf/nifi.properties the last property at the bottom should be:

nifi.kerberos.krb5.file=

Set that to the full path (including filename) of your krb5.conf file and restart NiFi.

On the PutHDFS processor (or other HDFS processors) there are properties for Kerberos Keytab and Kerberos Principal. After setting those you should be able to authenticate.

New Contributor

Did you make a principle and a keytab for this nifi ?

Is the node(where standalone nifi is installed) added in the cluster ?

Can you share the kerberos logs and Nifi logs !

; ;