Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5919

FairSharePolicy is not reasonable when sorting the application

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7.1
    • None
    • yarn
    • CentOS-7.1

    • Patch

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            zhengchenyu Chenyu Zheng

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 504h
                504h
                Remaining:
                Remaining Estimate - 504h
                504h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment