Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.0
-
None
-
None
-
Reviewed
Description
When history server starts up, It scans every history directories and put all history files into a cache, whereas this cache only stores 20K recent history files. Therefore, it is wasting a large portion of time loading old history files into the cache, and the startup time will keep increasing if we don't trim the number of history files. For example, when history server starts up with 2.5M history files in HDFS, it took ~5 minutes.