-
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
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)