hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7527) Over-allocate node resource in async-scheduling mode of CapacityScheduler
Date Mon, 20 Nov 2017 20:32:00 GMT

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

Hudson commented on YARN-7527:
------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13260 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/13260/])
YARN-7527. Over-allocate node resource in async-scheduling mode of (wangda: rev 0d781dd03b979d65de94978071b2faa55005b34a)
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/common/fica/FiCaSchedulerApp.java
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/TestCapacitySchedulerAsyncScheduling.java


> Over-allocate node resource in async-scheduling mode of CapacityScheduler
> -------------------------------------------------------------------------
>
>                 Key: YARN-7527
>                 URL: https://issues.apache.org/jira/browse/YARN-7527
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: capacityscheduler
>    Affects Versions: 3.0.0-alpha4, 2.9.1
>            Reporter: Tao Yang
>            Assignee: Tao Yang
>         Attachments: YARN-7527.001.patch
>
>
> Currently in async-scheduling mode of CapacityScheduler, node resource may be over-allocated
since node resource check is ignored.
> {{FiCaSchedulerApp#commonCheckContainerAllocation}} will check whether this node have
enough available resource for this proposal and return check result (ture/false), but this
result is ignored in {{CapacityScheduler#accept}} as below.
> {noformat}
> commonCheckContainerAllocation(allocation, schedulerContainer);
> {noformat}
> If {{FiCaSchedulerApp#commonCheckContainerAllocation}} returns false, {{CapacityScheduler#accept}}
should also return false as below:
> {noformat}
> if (!commonCheckContainerAllocation(allocation, schedulerContainer)) {
>   return false;
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message