hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun Suresh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5180) Add ensureExecutionType boolean flag in ResourceRequest
Date Wed, 01 Jun 2016 23:44:59 GMT

    [ https://issues.apache.org/jira/browse/YARN-5180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15311392#comment-15311392

Arun Suresh commented on YARN-5180:

bq. Thinking more about it, do we want the newInstance() of the ExecutionRequestType to be
false or rather true..
Further to [~kasha]'s reasoning.. I based it on the assumption that IMO, AMs should not make
strong assumptions/demands by default.. which implies that the default behavior is to be fine
with what ever the Scheduler gives it. Only special cases should warrant the AM explicitly
demanding that the scheduler gives it exactly what is asked.
bq. .. we might want to use enforceExecutionType instead of ensureExecutionType ..
Again, following from my previous point, i felt 'ensure..' is a more tempered request than
'enforce..' :) I would prefer to keep it as such, if you don't  have any strong opinions.

Will correct the typo and w.r.t *Scheduling Authority*, I explicitly kept it that way, since
for distributed scheduling, it is not the Scheduler technically that leases the containers

> Add ensureExecutionType boolean flag in ResourceRequest
> -------------------------------------------------------
>                 Key: YARN-5180
>                 URL: https://issues.apache.org/jira/browse/YARN-5180
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Arun Suresh
>            Assignee: Arun Suresh
>         Attachments: YARN-5180.001.patch, YARN-5180.002.patch, YARN-5180.003.patch, YARN-5180.004.patch,
> YARN-2882 introduced the concept of *ExecutionTypes*.
> YARN-4335 allowed AMs to specify the ExecutionType in the ResourceRequest.
> This JIRA proposes to add a boolean flag to the ResourceRequest to signal to the Scheduler
that the AM is fine receiving a Container with a different Execution type than what is asked.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message