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

Revert changes of AbstractResourceRequest

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha2
    • Component/s: None
    • Labels:
      None

      Description

      YARN-5774 added AbstractResourceRequest to make easier internal scheduler change, this is not a correct approach: For example, with this change, we need to make AbstractResourceRequest to be public/stable. And end users can use it like:

      AbstractResourceRequest request = ...
      request.setCapability(...)
      

      But AbstractResourceRequest should not be visible by application at all.

      We need to revert it from branch-2.8 / branch-2 / trunk.

        Attachments

        1. YARN-6022.001.patch
          15 kB
          Wangda Tan
        2. YARN-6022.002.patch
          15 kB
          Wangda Tan
        3. YARN-6022.003.patch
          15 kB
          Wangda Tan
        4. YARN-6022.004.patch
          16 kB
          Daniel Templeton
        5. YARN-6022.005.patch
          16 kB
          Daniel Templeton
        6. YARN-6022.branch-2.005.patch
          15 kB
          Daniel Templeton
        7. YARN-6022.branch-2.006.patch
          15 kB
          Daniel Templeton

          Activity

            People

            • Assignee:
              leftnoteasy Wangda Tan
              Reporter:
              leftnoteasy Wangda Tan
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: