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

LeafQueue#pendingOrderingPolicy should always use fixed ordering policy instead of using same as active applications ordering policy

    Details

    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      In discussion with Wangda Tan in the JIRA comment pointed out that LeafQueue#pendingOrderingPolicy should NOT be assumed to be same as active applications ordering policy. It causes an issue when using fair ordering policy.
      Expectations of this JIRA should include

      1. Create FifoOrderingPolicyForPendingApps which extends FifoOrderingPolicy.
      2. Comparator of new ordering policy should use RecoveryComparator,PriorityComparator and Fifocomparator in order respectively.
      3. Clean up LeafQueue#pendingOPForRecoveredApps which is no more required once new fixed ordering policy is created pending applications.

        Attachments

        1. 0001-YARN-4617.patch
          22 kB
          Rohith Sharma K S
        2. 0002-YARN-4617.patch
          23 kB
          Rohith Sharma K S
        3. 0001-YARN-4617.patch
          24 kB
          Rohith Sharma K S
        4. 0003-YARN-4617.patch
          24 kB
          Rohith Sharma K S
        5. 0004-YARN-4617.patch
          24 kB
          Rohith Sharma K S
        6. 0005-YARN-4617.patch
          22 kB
          Rohith Sharma K S
        7. 0006-YARN-4617.patch
          23 kB
          Rohith Sharma K S

          Activity

            People

            • Assignee:
              rohithsharma Rohith Sharma K S
              Reporter:
              rohithsharma Rohith Sharma K S
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: