[jira] [Commented] (SPARK-20562) Support Maintenance by having a threshold for unavailability

2017-05-03 Thread Apache Spark (JIRA)

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

Apache Spark commented on SPARK-20562:
--

User 'gkc2104' has created a pull request for this issue:
https://github.com/apache/spark/pull/17846

> Support Maintenance by having a threshold for unavailability
> 
>
> Key: SPARK-20562
> URL: https://issues.apache.org/jira/browse/SPARK-20562
> Project: Spark
>  Issue Type: Improvement
>  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



[jira] [Commented] (SPARK-20562) Support Maintenance by having a threshold for unavailability

2017-05-03 Thread Kamal Gurala (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-20562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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