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

Add AbstractYarnScheduler#getValidQueues method to remove duplication

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0, 3.2.0, 2.9.2, 3.0.3, 2.8.5
    • 3.3.0
    • None
    • None
    • Reviewed

    Description

      AbstractYarnScheduler#moveAllApps and AbstractYarnScheduler#killAllAppsInQueue had the same code segment. So I think we need a method to handle it named AbstractYarnScheduler#getValidQueues. Apart from this we need add the doc comment to expound why exists.

      Attachments

        1. YARN-9214.005.patch
          3 kB
          Wanqiang Ji
        2. YARN-9214.004.patch
          3 kB
          Wanqiang Ji
        3. YARN-9214.003.patch
          3 kB
          Wanqiang Ji
        4. YARN-9214.002.patch
          5 kB
          Wanqiang Ji
        5. YARN-9214.001.patch
          5 kB
          Wanqiang Ji

        Activity

          People

            jiwq Wanqiang Ji
            jiwq Wanqiang Ji
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: