Todd Lipcon created HDFS-3956:
---------------------------------
Summary: QJM: purge temporary files when no longer within
retention period
Key: HDFS-3956
URL: https://issues.apache.org/jira/browse/HDFS-3956
Project: Hadoop HDFS
Issue Type: Sub-task
Components: ha
Affects Versions: QuorumJournalManager (HDFS-3077)
Reporter: Todd Lipcon
Assignee: Todd Lipcon
Priority: Minor
After doing a bunch of fault testing, I noticed that the JNs had a bunch of
temporary files left around in their journal directories which were no longer
within the retention period. For example, if a JN crashes in the middle of
recovery, it can leave around a file like {{edits_inprogress_123.epoch=10}}.
These files are handy to keep around for forensics/debugging while they are
still in their retention period, but we should not leave them forever. The
normal purging policy should apply.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira