AngersZhuuuu commented on code in PR #36564: URL: https://github.com/apache/spark/pull/36564#discussion_r893017815
########## core/src/main/scala/org/apache/spark/SparkContext.scala: ########## @@ -461,7 +467,8 @@ class SparkContext(config: SparkConf) extends Logging { listenerBus.addToStatusQueue(_statusStore.listener.get) // Create the Spark execution environment (cache, map output tracker, etc) - _env = createSparkEnv(_conf, isLocal, listenerBus) + _env = createSparkEnv(_conf, isLocal, listenerBus, + new OutputCommitCoordinator(conf, true, Option(this))) Review Comment: > this looks weird, I think we just need to pass `this` to `createSparkEnv`, which creates driver-side `SparkEnv` that contains `OutputCommitCoordinator` How about current? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org