Configure Encryption with MapR-SASL or Kerberos Authentication
About this task
Complete the following steps on each node where HiveServer2 is installed:
Procedure
In hive-site.xml file, set the following property:
Property
Value
hive.server2.thrift.sasl.qop
auth-conf
NOTE
As of Hive 0.13-1504 and Hive 1.0-1504,
hive.server2.thrift.sasl.qop is set to auth-conf by
default on secure clusters.
<property>
<name>hive.server2.thrift.sasl.qop</name>
<value>auth-conf</value>
<description>Sasl QOP value; one of 'auth', 'auth-int' and 'auth-conf'</description>
</property>
Restart HiveServer2 to apply these changes.
maprcli node services -name hs2 -action restart -nodes <comma separated list of nodes>