Details
Description
After SPARK-29043, FsHistoryProvider will list the log info without waiting all `mergeApplicationListing` task finished.
However, the method `cleanAppData` for stale data is not thread safe and it could lead to a scenario when `cleanAppData` delete the entry ofÂ
ApplicationInfoWrapper for an application right after it has been updated by `mergeApplicationListing`.
So there will be cases when the HS Web UI displays `Application not found` for applications whose logs does exist.
Attachments
Issue Links
- is duplicated by
-
SPARK-39082 Fix FsHistoryProvider race condition between update and clean app data
- Resolved
- relates to
-
SPARK-29043 [History Server]Only one replay thread of FsHistoryProvider work because of straggler
- Resolved
-
SPARK-37659 Fix FsHistoryProvider race condition between list and delet log info
- Resolved
- links to