Skip to content

Commit 2dc7fe2

Browse files
author
Tom Graves
committed
Add comment
1 parent 2094e94 commit 2dc7fe2

File tree

1 file changed

+1
-0
lines changed
  • repl/scala-2.11/src/main/scala/org/apache/spark/repl

1 file changed

+1
-0
lines changed

repl/scala-2.11/src/main/scala/org/apache/spark/repl/Main.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ object Main extends Logging {
3535
s.processArguments(List("-Yrepl-class-based",
3636
"-Yrepl-outdir", s"${outputDir.getAbsolutePath}",
3737
"-classpath", getAddedJars.mkString(File.pathSeparator)), true)
38+
// the creation of SecurityManager has to be lazy so SPARK_YARN_MODE is set if needed
3839
lazy val classServer = new HttpServer(conf, outputDir, new SecurityManager(conf))
3940
var sparkContext: SparkContext = _
4041
var sqlContext: SQLContext = _

0 commit comments

Comments
 (0)