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.
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.
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!