hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haibo Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7819) Allow PlacementProcessor to be used with the FairScheduler
Date Thu, 01 Feb 2018 00:28:03 GMT

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

Haibo Chen commented on YARN-7819:

Thanks [~asuresh] for the patch. I took a quick look at YARN-6592 before reviewing this patch,
but my understanding maybe incomplete at best.

Two things I noticed here. There are multiple threads in fair scheduler that try to update
its states, so we probably need to add locking for safety. In the current version, a placed
scheduler resource request is accepted as long as there is enough resources to fit the request.
This may however, not be a desirable behavior from a fair-share points of view, for example.
There may be other factors which we have to take into account to decide if a placed scheduler
request is acceptable. +[~yufeigu], [~templedf]


> Allow PlacementProcessor to be used with the FairScheduler
> ----------------------------------------------------------
>                 Key: YARN-7819
>                 URL: https://issues.apache.org/jira/browse/YARN-7819
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Arun Suresh
>            Assignee: Arun Suresh
>            Priority: Major
>         Attachments: YARN-7819-YARN-6592.001.patch, YARN-7819-YARN-7812.001.patch
> The FairScheduler needs to implement the {{ResourceScheduler#attemptAllocationOnNode}}
function for the processor to support the FairScheduler.

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