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

Reshape SchedulerHealth class

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.4.0
    • Component/s: resourcemanager, yarn
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      The SchedulerHealth class has some flaws, for example:

      • It has no javadoc at all
      • All its objects are package-private: they should be private
      • The internal maps should be (Concurrent) EnumMaps instead of HashMaps: they are more efficient in storing Enums
      • schedulerHealthDetails only stores the last operation, its name should reflect that (just like lastSchedulerRunDetails)

        Attachments

        1. YARN-9883.001.patch
          9 kB
          D M Murali Krishna Reddy
        2. YARN-9883.002.patch
          9 kB
          D M Murali Krishna Reddy

          Activity

            People

            • Assignee:
              dmmkr D M Murali Krishna Reddy
              Reporter:
              adam.antal Adam Antal
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: