Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authenticate with a local keytab in the YARN Application Master #807

Closed
jbaiera opened this issue Jul 18, 2016 · 1 comment
Closed

Authenticate with a local keytab in the YARN Application Master #807

jbaiera opened this issue Jul 18, 2016 · 1 comment

Comments

@jbaiera
Copy link
Member

jbaiera commented Jul 18, 2016

A user may submit an application to a secured YARN cluster if they are authenticated, but the application is run as the user who submitted it. When Elasticsearch's Application Master starts, the remote process no longer has access to the original user's TGT from the client system. This means that the user will need a valid TGT on which ever node the Application Master has landed on in order to access HDFS to prepare containers to be launched.

Instead, we should add the ability to specify the principal and keytab file for the Elasticsearch Application Master to use during its lifecycle, and explicitly authenticate with said credentials when configuring the UGI. This would allow the Application Master to remain authenticated with HDFS without requiring the user to stand up particularly obscure mechanisms to retrieve a TGT.

@jbaiera
Copy link
Member Author

jbaiera commented Jul 18, 2016

This relates to #669

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant