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 2019/12/04 14:34:00 UTC

[GitHub] [spark] tgravescs commented on issue #26696: [WIP][SPARK-18886][CORE] Make locality wait time be the time since a TSM's available slots were fully utilized

tgravescs commented on issue #26696: [WIP][SPARK-18886][CORE] Make locality wait time be the time since a TSM's available slots were fully utilized
URL: https://github.com/apache/spark/pull/26696#issuecomment-561672267
 
 
   Overall I think this is a good approach as far as doesn't require a lot of changes and from what I've thought about so far gets what we want.  I still need to look at the specifics of the fairscheduler more though as well.
   
   So when to reset (or if you reset) is definitely still a question, arguably you should never reset back to a lower level. If the definition is a task delay then it should just be a delay from when it was submitted.  In your current implementation when it falls back is unpredictable.  If I happen to schedule on a node local and I'm full then fall back, but if I scheduled on node local and then at ANY, then it stays ANY.   You could take the other approach and always reset it back when you are fully utilized or set it back to whatever lowest was in that pass, but then you could end up always waiting the 3 seconds for non-node local again, which seems to go against the definition of the task delay.  It really feels like we should never reset it.
   
   For a true per task timer the question still comes into play when do you start that timer, some people may say from when stage was submitted, some might say from when the task possibly could have run (which then you have to define that) because is that when there was enough slots, etc.

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


With regards,
Apache Git Services

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