[ 
https://issues.apache.org/jira/browse/SPARK-20562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15995493#comment-15995493
 ] 

Kamal Gurala commented on SPARK-20562:
--------------------------------------

Spark is not smart about offers that might be scheduled for maintenance i.e. 
has an Unavailability period set. It also cannot estimate the amount of time a 
scheduled Task would use an Offer for.
It is however easier for Users to guess how long they think a Task would run 
for. So they can easily set a Configurable Threshold(x) that makes the Spark 
scheduler be wary of which offers it can accept and which ones might go under 
maintenance in x amount of time.
 

> Support Maintenance by having a threshold for unavailability
> ------------------------------------------------------------
>
>                 Key: SPARK-20562
>                 URL: https://issues.apache.org/jira/browse/SPARK-20562
>             Project: Spark
>          Issue Type: Bug
>          Components: Mesos
>    Affects Versions: 2.1.0
>            Reporter: Kamal Gurala
>
> Make Spark be aware of offers that have an unavailability period set because 
> of a scheduled Maintenance on the node.
> Have a configurable option that's a threshold which ensures that tasks are 
> not scheduled on offers that are within a threshold for maintenance



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to