Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
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/[email protected]?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/[email protected]?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.