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



##########
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:
       >  In some cases, I don't want it to go that high, maybe just a few 
threads to meet the basic need of a jetty server.
   
   For example, for a machine that used to launch Spark applications, we can 
limit this size to reduce to risk of getting `java.lang.OutOfMemoryError: 
Unable to create new native thread `




-- 
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



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to