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

Add a helper library to maintain node state and allows common queries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 2.9.0, 3.0.0-alpha1
    • scheduler
    • None
    • Reviewed

    Description

      The scheduler could use a helper library to maintain node state and allowing matching/sorting queries. Several reasons for this:

      1. Today, a lot of the node state management is done separately in each scheduler. Having a single library will take us that much closer to reducing duplication among schedulers.
      2. Adding a filtering/matching API would simplify node labels and locality significantly.
      3. An API that returns a sorted list for a custom comparator would help YARN-1011 where we want to sort by allocation and utilization for continuous/asynchronous and opportunistic scheduling respectively.

      Attachments

        1. yarn-4719-7.patch
          63 kB
          Karthik Kambatla
        2. yarn-4719-6.patch
          62 kB
          Karthik Kambatla
        3. yarn-4719-5.patch
          62 kB
          Karthik Kambatla
        4. yarn-4719-4.patch
          61 kB
          Karthik Kambatla
        5. yarn-4719-3.patch
          56 kB
          Karthik Kambatla
        6. yarn-4719-2.patch
          49 kB
          Karthik Kambatla
        7. yarn-4719-1.patch
          46 kB
          Karthik Kambatla

        Issue Links

          Activity

            People

              kasha Karthik Kambatla
              kasha Karthik Kambatla
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: