[SPARK-5147][Streaming] Delete the received data WAL log periodically by tdas · Pull Request #4149 · apache/spark (original) (raw)

@tdas

This is a refactored fix based on jerryshao 's PR #4037 This enabled deletion of old WAL files containing the received block data. Improvements over #4037

jerryshao I am going to merge this ASAP to make it 1.2.1 Thanks for the initial draft of this PR. Made my job much easier.

Author: Tathagata Das tathagata.das1565@gmail.com Author: jerryshao saisai.shao@intel.com

Closes #4149 from tdas/SPARK-5147 and squashes the following commits:

730798b [Tathagata Das] Added comments. c4cf067 [Tathagata Das] Minor fixes 2579b27 [Tathagata Das] Refactored the fix to make sure that the cleanup respects the remember duration of all the receiver streams 2736fd1 [jerryshao] Delete the old WAL log periodically

(cherry picked from commit 3027f06) Signed-off-by: Tathagata Das tathagata.das1565@gmail.com