Sqoop can use Kerberos authentication when connecting to DataStax Enterprise
nodes.
Sqoop can use Kerberos authentication when connecting to DataStax Enterprise
nodes.
Procedure
-
On the machine running Sqoop, create a ticket for the Kerberos principal.
$ kinit principal_name
Enter the principal's password when prompted.
-
Create a JAAS configuration file to enable Kerberos for DataStax
Enterprise.
DseClient {
com.sun.security.auth.module.Krb5LoginModule required
useTicketCache=true
renewTGT=true;
};
-
In a Sqoop options file, add the Kerberos configuration options that are
customized for your environment:
--cassandra-host
FQDN_of_Cassandra_host
--cassandra-enable-kerberos
--cassandra-kerberos-config-path
JAAS_configuration_filepath
--cassandra-kerberos-service-principal
principal_name/HOST@REALM
-
Run Sqoop with the options file.
$ bin/dse sqoop --options-file path_to_Sqoop_options_file