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

ResourceCalculator.fitsIn() should not take a cluster resource parameter

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha4
    • 3.0.0, 3.1.0
    • scheduler
    • Reviewed

    Description

      There are numerous calls to ClusterNodeTracker.getClusterResource() (which involves a lock) to get a value to pass as the cluster resource parameter to Resources.fitsIn(), but the parameter is (quite reasonably) ignored. We should remove the parameter.

      Attachments

        1. YARN-7172.001.patch
          26 kB
          Sen Zhao
        2. YARN-7172.002.patch
          26 kB
          Sen Zhao
        3. YARN-7172.003.patch
          28 kB
          Sen Zhao
        4. YARN-7172.004.patch
          28 kB
          Sen Zhao
        5. YARN-7172.005.patch
          28 kB
          Wangda Tan
        6. YARN-7172.006.patch
          28 kB
          Sen Zhao
        7. YARN-7172.branch-3.0.001.patch
          28 kB
          Daniel Templeton

        Activity

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

          People

            Sen Zhao Sen Zhao
            templedf Daniel Templeton
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment