Configure Kerberos Between Hue and Sqoop2

You can configure Kerberos authentication between Hue and Sqoop2.
To configure Kerberos authentication between Sqoop2 and Hue, complete the following steps:
  1. Configure Hue to use Kerberos for YARN. For more information, see Configure Hue to use Kerberos.
  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>