You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/05/20 13:35:59 UTC
[GitHub] [spark] tgravescs edited a comment on pull request #32136: [SPARK-35022][CORE] Task Scheduling Plugin in Spark
tgravescs edited a comment on pull request #32136:
URL: https://github.com/apache/spark/pull/32136#issuecomment-845123480
For the stage level scheduling option, is the state store essentially the same across all executors? meaning I don't care that a task gets on a particular executor that exactly matches an instance of a state store, but any executor as long as it has a state store. Sorry here, my knowledge on the streaming is lacking.
How is state store reconstructed when executor lost? I assume its when a streaming task is assigned and the executor is missing the state store and not automatically on executor lost?
> While stage level scheduling solving the "must run at a particular executor" problem, the problem of unenvely distribution of the first batch still exits. I don't have a good idea yet. But I think we can add hack code in scheduler anyway (e.g., we can add the strategy as you added in the the #32422) as long as we know its the 1st batch.
Just thinking out loud, if we still have to do something in the scheduler as plugin and that fulfills both requirements then why have 2 solutions (1 stage level scheduling and 1 scheduler plugin).
I left a bunch of comments in the design doc, I think there is still a bunch of details missing that might help find correct solution. another option for the spreading is perhaps we just need a separate option for that, like spread vs cluster and then use stage level scheduling for state store but it depends on other details. Is locality specified in the first set of tasks here that you want spread?
--
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org