Details
Description
YARN-6288 changes the log aggregation writer to be an autoclosable. Unfortunately the try-with-resources block for the writer will either rename or delete the log while open.
Assuming the NM's behavior is correct, deleting open files only results in ominous WARNs in the nodemanager log and increases the rate of logging in the NN when the implicit try-with-resource close fails. These red herrings complicate debugging efforts.
Attachments
Attachments
Issue Links
- is a clone of
-
YARN-7083 Log aggregation deletes/renames while file is open
- Resolved