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 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download