Configure PAM Authentication Between Hue and Hive
About this task
Complete the following steps to configure PAM authentication between Hue and Hive:
Procedure
-
Configure the
[beeswax]
section of thehue.ini
file. Set themechanism
option tonone
. Set theauth_username
andauth_password
options in the[desktop]
or[beeswax]
sections ofhue.ini
(whereauth_username
andauth_password
are the user credentials for the user who authenticates the Hue service with HiveServer2).The following example summarizes these changes:[desktop] ... # Default LDAP/PAM/.. username and password of the Hue user used for authentication with other services. # Inactive if password is empty. # e.g. LDAP pass-through authentication for HiveServer2 or Impala. Apps can override them individually. auth_username=mapr auth_password=<user_password> ... [beeswax] ... # Security mechanism of authentication none/GSSAPI/MAPR-SECURITY mechanism=none
-
Restart Hue:
maprcli node services -name hue -action restart -nodes <Hue node>