Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-10889 [Umbrella] Queue Creation in Capacity Scheduler - Tech debts
  3. YARN-10995

Move PendingApplicationComparator from GuaranteedOrZeroCapacityOverTimePolicy

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      GuaranteedOrZeroCapacityOverTimePolicy has a comparator class that orders applications by their submit time. It gets the applications from the RMContext and doesn't need any data from GuaranteedOrZeroCapacityOverTimePolicy class, so this easily could be moved to RMContext, so that the reference to the RMContext/SchedulerContext could be removed from GuaranteedOrZeroCapacityOverTimePolicy.

      Attachments

        Issue Links

          Activity

            People

              bteke Benjamin Teke
              bteke Benjamin Teke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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