Skip to content

[SPARK] [Scheduler] Configurable default scheduling mode - #19456

Closed
blyncsy-david-lewis wants to merge 1 commit into
apache:masterfrom
blyncsy-david-lewis:master
Closed

[SPARK] [Scheduler] Configurable default scheduling mode#19456
blyncsy-david-lewis wants to merge 1 commit into
apache:masterfrom
blyncsy-david-lewis:master

Conversation

@blyncsy-david-lewis

Copy link
Copy Markdown

Pulling default values for scheduling mode from spark conf.

@jiangxb1987

Copy link
Copy Markdown
Contributor

Could you elaborate on the scenario that you should need to make these settings configurable?

@blyncsy-david-lewis

Copy link
Copy Markdown
Author

I have a multiuser application where I use the userId as the name of the scheduling pool so that users are balanced equally by spark and within a user's workload I can set the scheduling mode to FAIR (or whatever I want). It is unreasonable to specify xml for each user and restart spark, so this patch allows me to specify the default configuration used by undefined pools.

@varunvish910varunvish910 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can you guarantee that your users share an even workload? With this setup you could potentially have a user with a high workload using 1/#users resources. Wouldn't using the queue feature be better?

@AmplabJenkins

Copy link
Copy Markdown

Can one of the admins verify this patch?

@HyukjinKwon

Copy link
Copy Markdown
Member

ping @blyncsy-david-lewis for @varuvish 's comment. Otherwise let me propose to close it for now.

@HyukjinKwonHyukjinKwon mentioned this pull request Jul 16, 2018
zifeif2 pushed a commit to zifeif2/spark that referenced this pull request Nov 22, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@blyncsy-david-lewis@jiangxb1987@AmplabJenkins@HyukjinKwon@varunvish910