Skip to content

Commit aac7f7b

Browse files
committed
[SPARK-3067] JobProgressPage could not show Fair Scheduler Pools section sometimes
1 parent cdef539 commit aac7f7b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/src/main/scala/org/apache/spark/SparkContext.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ class SparkContext(config: SparkConf) extends Logging {
221221

222222
// Initialize the Spark UI, registering all associated listeners
223223
private[spark] val ui = new SparkUI(this)
224-
ui.bind()
225224

226225
/** A default Hadoop Configuration for the Hadoop code (e.g. file systems) that we reuse. */
227226
val hadoopConfiguration: Configuration = {
@@ -334,6 +333,9 @@ class SparkContext(config: SparkConf) extends Logging {
334333
postEnvironmentUpdate()
335334
postApplicationStart()
336335

336+
// Starting Spark UI service
337+
ui.bind()
338+
337339
private[spark] var checkpointDir: Option[String] = None
338340

339341
// Thread Local variable that can be used by users to pass information down the stack

0 commit comments

Comments
 (0)