MapR 5.0 Documentation : Configuring Kerberos Authentication for Sqoop2

As of Sqoop2 1.99.6-1507, you can configure Sqoop2 to use Kerberos authentication. However, the cluster and other components that work with Sqoop2, such as Hue, must also use Kerberos authentication.  

  1. Modify the following properties in Sqoop2 configuration file (/opt/mapr/sqoop/sqoop-<version>/server/conf/<FQDN>@<REALM><FQDN>@<REALM>*
  2. Start Sqoop2 server.

    maprcli node services -name sqoop2 -action start -nodes <space delimited list of nodes>
  3. Using the kinit program, run the following command to generate a ticket:

    kinit HTTP/<FQDN>@<REALM> -kt /opt/mapr/conf/mapr.keytab 
  4. Start the Sqoop2 client.

    sudo -u mapr /opt/mapr/sqoop/sqoop-<version>/bin/ client