Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to configure NiFi for a Kerberized Hadoop Cluster?

Solved Go to solution
Highlighted

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

Accepted Solutions

Re: How to configure NiFi for a Kerberized Hadoop Cluster?

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.

2 REPLIES 2

Re: How to configure NiFi for a Kerberized Hadoop Cluster?

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.

Re: How to configure NiFi for a Kerberized Hadoop Cluster?

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 !