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

Reshape SchedulerHealth class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3.0
    • 3.4.0
    • resourcemanager, yarn
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: