When HiveServer 2 is configured to use Kerberos authentication, you must also configure HiveServer2 clients to use Kerberos.
On each node where HiveServer2 clients (not including Beeline) are installed, reconfigure the following option inenv.sh (/opt/mapr/conf/env.sh) file:
| Existing Configuration | Required Configuration |
|---|---|
MAPR_HIVE_LOGIN_OPTS="-Dhadoop.login=maprsasl"
|
|
if [ "$MAPR_SECURITY_STATUS" = "true" ];. However, you should make the
change in the /opt/mapr/conf/env_override.sh file. For more information,
see About env_override.sh. beeline.sh ($hive_home/bin/ext/beeline.sh) file:
| Existing Configuration | Required Configuration |
|---|---|
HADOOP_OPTS="$HADOOP_OPTS"
|
|
For more information, see Connecting to Hive.
-Dhadoop.login=hybrid" in
/opt/mapr/conf/env.sh.