We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f34115d commit 17c79bbCopy full SHA for 17c79bb
repl/src/main/scala/org/apache/spark/repl/SparkIMain.scala
@@ -102,7 +102,8 @@ import org.apache.spark.util.Utils
102
103
val virtualDirectory = new PlainFile(outputDir) // "directory" for classfiles
104
/** Jetty server that will serve our classes to worker nodes */
105
- val classServer = new HttpServer(outputDir, new SecurityManager(conf))
+ val classServerListenPort: Int = conf.getInt("spark.replClassServer.port", 0)
106
+ val classServer = new HttpServer(outputDir, new SecurityManager(conf), classServerListenPort)
107
private var currentSettings: Settings = initialSettings
108
var printResults = true // whether to print result lines
109
var totalSilence = false // whether to print anything
0 commit comments