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.

NiFi Hive Connection Pool Error.

Highlighted

Re: NiFi Hive Connection Pool Error.

Explorer

@Saikrishna Tarapareddy

GSS initiate failed exception simply means that the provided credentials are incorrect.

You must have kerberised the cluster with a principal/keytab combination. Please provide that as the kerberos principa;/keytab. The credentials that you have provided are that of the hive service.

Highlighted

Re: NiFi Hive Connection Pool Error.

Super Collaborator

@mkalyanpur

our NiFi is running as NiFi service account with NiFi principal user , Hive is running as Hive user. I tried with both and getting the same error.

is that what you are asking.? sorry for the confusion.

Highlighted

Re: NiFi Hive Connection Pool Error.

New Contributor

@Saikrishna Tarapareddy Were you able to resolve this issue. I am having similar issue. Please let me know.

Highlighted

Re: NiFi Hive Connection Pool Error.

Could you also add core-site.xml in Hive Configuration Properties from your kerberosed cluster please?

Highlighted

Re: NiFi Hive Connection Pool Error.

New Contributor

I was having the same issue but after I added core-site.xml alongside my hive-site.xml file I was able to connect. Thanks!

/usr/hdp/current/hive/conf/hive-site.xml,/etc/hadoop/current/0/core-site.xml

Re: NiFi Hive Connection Pool Error.

New Contributor

@mkalyanpur do I have to copy the krb5.conf file from my Hive server to the NiFi server?

Don't have an account?
Coming from Hortonworks? Activate your account here