You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Chris Heller (JIRA)" <ji...@apache.org> on 2016/05/06 17:58:12 UTC
[jira] [Comment Edited] (SPARK-15155) Optionally ignore default
role resources
[ https://issues.apache.org/jira/browse/SPARK-15155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15274461#comment-15274461 ]
Chris Heller edited comment on SPARK-15155 at 5/6/16 5:58 PM:
--------------------------------------------------------------
Under the current implementation Spark will consider both resources from {{*}} and from {{spark.mesos.role}} when set, this proposal will give you the option to only consider resources from {{spark.mesos.role}} and ignore the default role. In this case, I don't want Spark to be launching tasks using the default role, but presently that cannot be enforced.
was (Author: chrisheller):
Under the current implementation Spark will consider both resources from {{*}} and from {{spark.mesos.role}} when set, this proposal will give you the option to only consider resources from {{spark.mesos.role}} and ignore {{*}}. In this case, I don't want Spark to be launching tasks using the default role, but presently that cannot be enforced.
> Optionally ignore default role resources
> ----------------------------------------
>
> Key: SPARK-15155
> URL: https://issues.apache.org/jira/browse/SPARK-15155
> Project: Spark
> Issue Type: Improvement
> Components: Mesos
> Affects Versions: 1.5.0, 1.6.0
> Reporter: Chris Heller
>
> SPARK-6284 added support for Mesos roles, but the framework will still accept resources from both the reserved role specified in {{spark.mesos.role}} and the default role {{*}}.
> I'd like to propose the addition of a new boolean property: {{spark.mesos.ignoreDefaultRoleResources}}. When this property is set Spark will only accept resources from the role passed in the {{spark.mesos.role}} property. If {{spark.mesos.role}} has not been set, {{spark.mesos.ignoreDefaultRoleResources}} has no effect.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org