Hi, While reviewing TaskSchedulerImpl I've noticed that rootPool is created and initialized in TaskSchedulerImpl#initialize [1], but seems legit to do it as part of TaskSchedulerImpl's instantiation.
What is the reason for creating and initializing rootPool late in TaskSchedulerImpl's lifecycle? [1] https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/scheduler/TaskSchedulerImpl.scala#L131-L142 Pozdrawiam, Jacek Laskowski ---- https://medium.com/@jaceklaskowski/ Mastering Apache Spark http://bit.ly/mastering-apache-spark Follow me at https://twitter.com/jaceklaskowski --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org For additional commands, e-mail: dev-h...@spark.apache.org