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

Driver works in YARN container #119

Merged
merged 2 commits into from
Dec 19, 2018
Merged

Driver works in YARN container #119

merged 2 commits into from
Dec 19, 2018

Conversation

jcrist
Copy link
Owner

@jcrist jcrist commented Dec 19, 2018

Two fixes to make the Skein driver/client work properly inside a YARN container:

  • Properly set io.netty.native.workdir for the driver as well as the application master
  • Load the current application's security configuration by default when run inside a container

This allows applications to be submitted from inside a YARN container just as easily as from the edge node.

When running in a container, the driver may need to configure Netty's
native working directory, as not all filesystems have executable /tmp.
Since netty cleans up after itself, we set it to the current directory
if we're in a container.
Makes `skein.Security.from_default()` use the current application's
security credentials when run inside a container. This is needed to make
the skein driver work properly inside a container.
@jcrist jcrist merged commit 8dd2982 into master Dec 19, 2018
@jcrist jcrist deleted the driver-works-in-container branch December 19, 2018 20:15
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

Successfully merging this pull request may close these issues.

1 participant