Hi team.

How to configure sqoop2 for impersonation?
Does  sqoop2  impersonation works only on cluster with Kerberos security?

I used following configuration to sqoop2 impersonation.

org.apache.sqoop.security.authentication.kerberos.principal=testuser/c7m500krbr@C7M500KRBR
org.apache.sqoop.security.authentication.kerberos.keytab=/opt/test/test.keytab

org.apache.sqoop.security.authentication.kerberos.http.principal=HTTP/c7m500krbr@C7M500KRBR
org.apache.sqoop.security.authentication.kerberos.http.keytab=/opt/test/test.keytab
org.apache.sqoop.security.authentication.enable.doAs=true
org.apache.sqoop.security.authentication.proxyuser.root.users=*
org.apache.sqoop.security.authentication.proxyuser.root.groups=*
org.apache.sqoop.security.authentication.proxyuser.root.hosts=*

I have started sqoop2 server via root user and I expect that import job
will write data via  testuser (not via root) because of this line

org.apache.sqoop.security.authentication.kerberos.principal=testuser/c7m500krbr@C7M500KRBR

Am I correct in understanding of  sqoop2  impersonation?

Oleksiy.

Reply via email to