Configure Encryption with MapR-SASL or Kerberos Authentication

Complete the following steps on each node where HiveServer2 is installed:
  1. In hive-site.xml, 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>
  2. Restart HiveServer2 to apply these changes.
    maprcli node services -name hs2 -action restart -nodes <comma separated list of nodes>