Configuring Hive Metastore Clients to use MapR-SASL

About this task

The Hive metastore clients are configured to use MapR-SASL when authenticating with Hive Metastore.

NOTE
Hive Metastore clients must provide a valid Data Fabric ticket to connect to the Hive Metastore. See Connecting to Hive for details.

Procedure

  1. Ensure that the cluster is secure.
  2. Edit the /opt/mapr/conf/env.sh file and set the following property:
    MAPR_HIVE_LOGIN _OPTS="-D hadoop.login=maprsasl"