Configure Kerberos Between Hue and Sqoop2
Prerequisites
- 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
- Based on the MapReduce mode that Sqoop2 jobs run on, configure Hue to use Kerberos for MRv1 or YARN. For more information, see Configure Hue to use Kerberos (YARN) or Configure Hue to use Kerberos (MRv1).
-
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>