hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Templeton (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (YARN-6869) Resources.lessThan() et al should not use ResourceCalculator.compare()
Date Tue, 25 Jul 2017 18:36:00 GMT

     [ https://issues.apache.org/jira/browse/YARN-6869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Daniel Templeton reassigned YARN-6869:

    Assignee: Daniel Templeton

> Resources.lessThan() et al should not use ResourceCalculator.compare()
> ----------------------------------------------------------------------
>                 Key: YARN-6869
>                 URL: https://issues.apache.org/jira/browse/YARN-6869
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: resourcemanager
>    Affects Versions: 3.0.0-alpha4
>            Reporter: Daniel Templeton
>            Assignee: Daniel Templeton
> If you look at what the callers of {{lessThan()}}, {{lessThanOrEqual()}}, {{greaterThan()}},
and {{greaterThanOrEqual()}} expect the calls to do, there's no reason why the comparison
should be done in context of the total resources.  Skipping the division and doing a direct
comparison should improve performance.

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