Skip to content

Commit

Permalink
[minor] [core] Allow History Server to read kerberos opts from config…
Browse files Browse the repository at this point in the history
… file.

Order of initialization code was wrong.
  • Loading branch information
Marcelo Vanzin committed May 8, 2015
1 parent cd1d411 commit 00b6b6b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ object HistoryServer extends Logging {

def main(argStrings: Array[String]) {
SignalLogger.register(log)
initSecurity()
new HistoryServerArguments(conf, argStrings)
initSecurity()
val securityManager = new SecurityManager(conf)

val providerName = conf.getOption("spark.history.provider")
Expand Down

0 comments on commit 00b6b6b

Please sign in to comment.