Skip to content

Commit faf9d58

Browse files
Marcelo Vanzinjeanlyn
authored andcommitted
[MINOR] [CORE] Allow History Server to read kerberos opts from config file.
Order of initialization code was wrong. Author: Marcelo Vanzin <[email protected]> Closes apache#5998 from vanzin/hs-conf-fix and squashes the following commits: 00b6b6b [Marcelo Vanzin] [minor] [core] Allow History Server to read kerberos opts from config file.
1 parent 9bc991d commit faf9d58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/deploy/history/HistoryServer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ object HistoryServer extends Logging {
203203

204204
def main(argStrings: Array[String]) {
205205
SignalLogger.register(log)
206-
initSecurity()
207206
new HistoryServerArguments(conf, argStrings)
207+
initSecurity()
208208
val securityManager = new SecurityManager(conf)
209209

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

0 commit comments

Comments
 (0)