Configure Kerberos Between Hue and Sqoop2

As of Hue 3.8.1, you can configure Kerberos authentication between Hue and Sqoop2 1.99.6.
To configure Kerberos authentication between Sqoop2 and Hue, complete the following steps:
  1. 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).
  2. In the [sqoop] section of the hue ini, set mechanism to GSSAPI. 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
  3. Restart Hue.
    maprcli node services -name hue -action start -nodes <space delimited list of nodes>