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

SPARK-1189: Add Security to Spark - Akka, Http, ConnectionManager, UI use servlets #33

Closed
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix merge conflict since startUserClass now using runAsUser
  • Loading branch information
tgravescs committed Mar 6, 2014
commit dfe3918265677a6208696a8cb82710203ee07c19
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ class ApplicationMaster(args: ApplicationMasterArguments, conf: Configuration,
addAmIpFilter()

ApplicationMaster.register(this)

// Call this to force generation of secret so it gets populated into the
// hadoop UGI. This has to happen before the startUserClass which does a
// doAs in order for the credentials to be passed on to the worker containers.
val securityMgr = new SecurityManager(sparkConf)

// Start the user's JAR
userThread = startUserClass()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ class ApplicationMaster(args: ApplicationMasterArguments, conf: Configuration,

ApplicationMaster.register(this)

// Call this to force generation of secret so it gets populated into the
// hadoop UGI. This has to happen before the startUserClass which does a
// doAs in order for the credentials to be passed on to the worker containers.
val securityMgr = new SecurityManager(sparkConf)

// Start the user's JAR
userThread = startUserClass()

Expand Down