Created 03-09-2016 03:29 AM
On kerberized cluster I understand for j/odbc via TCP only SASL is supported. How do i enabled SASL via ambari for hiveserver2. I only see SSL button.
Created 03-09-2016 03:43 AM
hive.server2.thrift.sasl.qop in hive-site.xml
has to be set to one of the valid QOP values ('auth', 'auth-int' or 'auth-conf').
Then use as for example:
jdbc:hive://hostname/dbname;sasl.qop=auth-int|auth|auth-conf jdbc:hive2://sandbox.hortonworks.com:10001/default;principal=hive/sandbox.hortonworks.com@HORTONWORKS.COM?transportMode=http;httpPath=cliservice;auth=kerberos;sasl.qop=auth-int
See
Created 03-09-2016 03:43 AM
hive.server2.thrift.sasl.qop in hive-site.xml
has to be set to one of the valid QOP values ('auth', 'auth-int' or 'auth-conf').
Then use as for example:
jdbc:hive://hostname/dbname;sasl.qop=auth-int|auth|auth-conf jdbc:hive2://sandbox.hortonworks.com:10001/default;principal=hive/sandbox.hortonworks.com@HORTONWORKS.COM?transportMode=http;httpPath=cliservice;auth=kerberos;sasl.qop=auth-int
See
Created 03-09-2016 04:38 AM
@Ancil McBarnett Awesome feedback! I have follow up (maybe I will ask another HCC question). Can client connect using a lower standard like auth-int or auth if hive.server2.thrift.sasl.qop is set to auth-conf on hiveserver2?
Created 03-09-2016 02:37 PM
Hi @Sunile Manjee please ask the follow on as a separate question.