Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[SPARK-50385][CORE] Use class name prefix for REST Submission API thr…
…ead pool
  • Loading branch information
dongjoon-hyun committed Nov 21, 2024
commit 6c9bdd12a80cfe00962d30faa2581e71b4cc7fd2
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ private[spark] abstract class RestSubmissionServer(
*/
private def doStart(startPort: Int): (Server, Int) = {
val threadPool = new QueuedThreadPool(masterConf.get(MASTER_REST_SERVER_MAX_THREADS))
threadPool.setName(getClass().getSimpleName())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Default value:
image
  • We manually set a value here:
image

threadPool.setDaemon(true)
val server = new Server(threadPool)

Expand Down