Member since
10-22-2020
2
Posts
0
Kudos Received
0
Solutions
10-23-2020
02:36 AM
Thank you @tusharkathpal , I updated hive site.xml , but issue is still not resolved. javax.security.auth.login.LoginException: Unsupported authentication type kerberos at org.apache.hive.service.auth.HiveAuthFactory.getAuthTransFactory(HiveAuthFactory.java:184) ~[hive-service-2.3.5.jar:2.3.5]
... View more
10-22-2020
04:25 AM
Hi , Hadoop version - 2.9.2 Apache hive - 2.3.5 Operating system - Windows10 I installed Hadoop and hive in my Windows machine and it works fine for NOSASL (hive site.xml) <property> <name>hive.server2.authentication</name> <value>NOSASL</value> </property> But when I tried with KERBEROS , could not start hive service2 ERROR ------------- javax.security.auth.login.LoginException: Unsupported authentication type KERBEROS at org.apache.hive.service.auth.HiveAuthFactory.getAuthTransFactory(HiveAuthFactory.java:184) ~[hive-service-2.3.5.jar:2.3.5] at org.apache.hive.service.cli.thrift.ThriftBinaryCLIService.run(ThriftBinaryCLIService.java:70) ~[hive-service-2.3.5.jar:2.3.5]at java.lang.Thread.run(Thread.java:748) [?:1.8.0_261] I just followed the cloudera official documents to enable KERBEROS steps -------- 1. installed KERBEROS in windows 10 2. set the KRB5CCNAME environment variable. 3. updated hive site.xml file <property> <name>hive.server2.authentication</name> <value>KERBEROS</value> </property> <property> <name>hive.server2.authentication.kerberos.principal</name> <value>hive/_host@your-realm.com</value> </property> <property> <name>hive.server2.authentication.kerberos.keytab</name> <value>path of krb5.keytab</value> </property>
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Hive
-
Cloudera Search