!URGENT: Error in establishing connection to Kerberos via Talend

Highlighted
Four Stars

!URGENT: Error in establishing connection to Kerberos via Talend

Hi,

 

We’re using Talend Open Studio for Big Data and are facing an issue in establishing a connection to a Kerberos enabled Hadoop cluster.

Talend is unable to locate the default realm. We have also placed the krb5.conf file in the default locations.

 

Last line of exception says:

KrbException: Cannot locate default realmat sun.security.krb5.Config.getDefaultRealm

 

Your urgent assistance on this matter will be highly appreciated.

 

Regards,

Shilpa Nayak

Highlighted
Moderator

Re: !URGENT: Error in establishing connection to Kerberos via Talend

Hello,

Did you copy krb5.conf from Hadoop Edge Client to a secure location in Windows (e.g c:\secure) and add the Hadoop Property ("java.security.krb5.conf", "C:
secure")?

Note:The Hadoop properties are used for Hadoop only. The property you are trying to set is a System property. Please use the tSetEnv component in order to do what you want.

Please refer to this doc:https://docs.oracle.com/javase/7/docs/technotes/guides/security/jgss/tutorials/KerberosReq.html

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 GARTNER 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

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

Best Practices for Using Context Variables with Talend – Part 3

Read about some useful Context Variable ideas

Blog