hadoop + kerberos: use proxy user when executing operations

Highlighted
Four Stars

hadoop + kerberos: use proxy user when executing operations

Hi,

 

in pure Java it is possible to use a ProxyUser to perform operations on the hadoop cluster. With the UserGroupInformation created via:

 

UserGroupInformation.createProxyUser(principal.getName(), UserGroupInformation.getLoginUser());

I'm able to login with a kerberos keytab but the kerberos user is impersonating another user (important for creating files with correct ownership).

 

Unfortunately I haven't found out yet how to impersonate another user when using Talend for connecting and performing operations on sour hadoop cluster. The authoriztaion via keytab works flawless but files are written with the wrong fileowner.

 

Best regards

Moderator

Re: hadoop + kerberos: use proxy user when executing operations

Hello,

Do you mean Kerberos is failing at your proxy user? Is your job working properly on machine when Kerberos is disable?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog