You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "zhengchenyu (JIRA)" <ji...@apache.org> on 2016/11/21 10:02:58 UTC

[jira] [Created] (YARN-5919) FairSharePolicy is not reasonable when sorting the application

zhengchenyu created YARN-5919:
---------------------------------

             Summary: FairSharePolicy is not reasonable when sorting the application
                 Key: YARN-5919
                 URL: https://issues.apache.org/jira/browse/YARN-5919
             Project: Hadoop YARN
          Issue Type: Improvement
          Components: yarn
    Affects Versions: 2.7.1
         Environment: CentOS-7.1
            Reporter: zhengchenyu
            Priority: Critical
             Fix For: 2.7.1


I use the FairSharePolicy to  sort the runnableApps in FSLeafQueue. For the comparation of FSAppAttempt, s1Needy and s1Needy must be negtive. So FairSharePolicy will use useToWeightRatio to compare.  This algorithm only consider the ResourceUsage of the FSAppAttempt. There is a unreasonable phenomenon: A low ResourceUsage FsAppAttemp with no demand(or request) will be in front of the queue, then skip this chance of assigning container.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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