yaooqinn commented on a change in pull request #32539:
URL: https://github.com/apache/spark/pull/32539#discussion_r632229628



##########
File path: core/src/main/scala/org/apache/spark/internal/config/UI.scala
##########
@@ -218,4 +218,13 @@ private[spark] object UI {
     .stringConf
     .transform(_.toUpperCase(Locale.ROOT))
     .createWithDefault("LOCAL")
+
+  val UI_THREADS = ConfigBuilder("spark.ui.threads")

Review comment:
       > Can Jetty thread pools simply expand as needed up to some large max? 
   
   Yes. And currently, we are using the default value of 200 for all cases. 
Adding this config to make max no. to be configurable.
   
   For example, for a single Spark application with UI enabled, we can limit it 
to a small value. This can be a protection of the application itself when 
`http://localhost:4040/api/v1` is requested too often.




-- 
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to