hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yufei Gu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-6307) Refactor FairShareComparator#compare
Date Wed, 08 Mar 2017 19:59:37 GMT
Yufei Gu created YARN-6307:

             Summary: Refactor FairShareComparator#compare
                 Key: YARN-6307
                 URL: https://issues.apache.org/jira/browse/YARN-6307
             Project: Hadoop YARN
          Issue Type: Bug
          Components: fairscheduler
            Reporter: Yufei Gu
            Assignee: Yufei Gu

The method did three things: check the min share ratio, check weight ratio, break tied by
submit time and name. They are mixed with each other which is not easy to read and maintenance,
 poor style. Additionally, there are potential performance issues, like no need to calculate
weight ratio every time. 

This message was sent by Atlassian JIRA

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

View raw message