jiangxb1987 commented on a change in pull request #25307: [SPARK-28574][CORE] Allow to config different sizes for event queues URL: https://github.com/apache/spark/pull/25307#discussion_r309043848
########## File path: core/src/test/scala/org/apache/spark/scheduler/SparkListenerSuite.scala ########## @@ -532,6 +532,28 @@ class SparkListenerSuite extends SparkFunSuite with LocalSparkContext with Match } } + test("event queue size can be configued through spark conf") { + val conf = new SparkConf(false) + .set(LISTENER_BUS_EVENT_QUEUE_CAPACITY, 5) + .set("spark.scheduler.listenerbus.eventqueue.shared.capacity", "1") + .set("spark.scheduler.listenerbus.eventqueue.eventLog.capacity", "2") Review comment: similarly, I would use s`${EVENT_LOG_QUEUE}.capacity` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org