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

Delegation Token Refreshes #65

Open
ekohlwey opened this issue Jan 27, 2014 · 3 comments
Open

Delegation Token Refreshes #65

ekohlwey opened this issue Jan 27, 2014 · 3 comments

Comments

@ekohlwey
Copy link

According to https://issues.apache.org/jira/browse/YARN-941 - delegation tokens may be refreshed by simply restarting the application master. This makes intuitive sense.

I believe storm stores topology submission information in Zookeeper, so this could actually work quite well for storm on yarn in that the AM could inspect its delegation tokens and simply exit with a non-final error code every time the token expires. The topologies, etc would then be re-launched with the same processing and durability guarantees as normal storm (although, perhaps the restarts would be more noticeable).

@revans2
Copy link
Collaborator

revans2 commented Jan 27, 2014

That is only part of YARN-941. The RM also needs an API to allow it to update the credentials it has cached in memory. That work is relatively small, but still needs to be done.

@ekohlwey
Copy link
Author

do you know if thats being tracked somewhere?

@revans2
Copy link
Collaborator

revans2 commented Jan 27, 2014

I filed YARN-941, and Steve came up with the great idea for an exit to trigger the cred refresh. I thought that teh need for the RM update was still listed as part of that JIRA. If it is confusing I am happy to hop on the JIRA and clarify the new scope of it. Also because I am always swamped with stuff if you want to take a crack at YARN-941 I would be happy to review/merge it in for you. Although most discussion around that should happen on the JIRA itself :)

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

No branches or pull requests

2 participants