Configure MapR-SASL Authentication for Sqoop2
About this task
As of Sqoop2 1.99.6-1507, you can configure Sqoop2 to use MapR-SASL. When you configure MapR-SASL for Sqoop2, other components that communicate with Sqoop, such as Hue, must also be configured to use MapR-SASL. Complete the following steps on each node that runs the Sqoop2 server:
Procedure
-
Remove the # before the following properties in the Authentication
configuration section of the sqoop.properties file
(/opt/mapr/sqoop/sqoop-<version>/server/conf/sqoop.properties):
#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>
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