Configure Kerberos Between Hue and Sqoop2
Prerequisites
- The MapR cluster must be configured to use Kerberos. For more information, see Configuring Kerberos User Authentication.
- Sqoop2 must be configured to use Kerberos. For more information, see Configure Kerberos Authentication for Sqoop2.
About this task
Procedure
- Configure Hue to use Kerberos for YARN. For more information, see Configure Hue to use Kerberos.
-
In the
[sqoop]
section of thehue ini
, setmechanism
toGSSAPI
. For example:[sqoop] # For autocompletion, fill out the librdbms section. # Sqoop server URL server_url=http://localhost:12000/sqoop # Change this if your cluster is secured security_enabled=${security_enabled} # Security mechanism of authentication none/GSSAPI/MAPR-SECURITY mechanism=GSSAPI
-
Restart Hue.
maprcli node services -name hue -action start -nodes <space delimited list of nodes>