Configure MapR-SASL for Sqoop2
This section describes how to configure Sqoop2 to use MapR-SASL. Starting with the MEP 4.0 release, for secure clusters, MapR-SASL is automatically configured for Sqoop2 and you can skip the steps outlined in this section.
About this task
Procedure
-
Remove the
#
before the following properties in the Authentication configuration section of thesqoop.properties
file.In Sqoop 1.99.6, the sqoop.properties file is in the following directory:/opt/mapr/sqoop/sqoop-<version>/server/conf/
. In Sqoop 1.99.7, the sqoop.properties file is in the following directory:/opt/mapr/sqoop/sqoop-<version>/conf/
.#org.apache.sqoop.security.authentication.type=CUSTOM #org.apache.sqoop.security.authentication.custom_handler=org.apache.hadoop.security.authentication.server.MultiMechsAuthenticationHandler
-
Restart Sqoop2 server.
maprcli node services -name sqoop2 -action restart -nodes <space delimited list of nodes>
What to do next
NOTE:
To start Sqoop2 client with MapR-SASL, run the following
command:
sudo -u mapr /opt/mapr/sqoop/sqoop-<version>/bin/sqoop.sh client --custom