Wheezil
Wheezil

Reputation: 3462

How to automatically authenticate with Hadoop using Active Directory?

We have an application that accesses Hadoop via HDFS, YARN, and Hive interfaces. This application works fine against Kerberos-secured clusters if kinit has been run. It also works fine if we call UserGroupInformation.loginUserFromKeytab(). We are able to delegate the HDFS and Hive tokens to YARN applications. The thing we cannot figure out is the following scenario:

We know this is possible in theory, because there are two examples of software that achieve this. The first is HDFS Explorer from RedGate. The second is Hue. However, we just can't seem to figure out the right incantation, and even Hortonworks support can't seem to help.

Upvotes: 1

Views: 1819

Answers (1)

Romain
Romain

Reputation: 7082

Hue comes with a LDAP backend that can transparently authenticate users against your company directory,

Hue also comes with a KT renewer command for keeping its Kerberos ticket up to date. It is even ran automatically when using CM.

Upvotes: 1

Related Questions