You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:23:14 UTC

[jira] [Updated] (SPARK-17604) Support purging aged file entry for FileStreamSource metadata log

     [ https://issues.apache.org/jira/browse/SPARK-17604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon updated SPARK-17604:
---------------------------------
    Labels: bulk-closed  (was: )

> Support purging aged file entry for FileStreamSource metadata log
> -----------------------------------------------------------------
>
>                 Key: SPARK-17604
>                 URL: https://issues.apache.org/jira/browse/SPARK-17604
>             Project: Spark
>          Issue Type: New Feature
>          Components: Structured Streaming
>            Reporter: Saisai Shao
>            Priority: Minor
>              Labels: bulk-closed
>
> Currently with SPARK-15698, FileStreamSource metadata log will be compacted periodically (10 batches by default), this means compacted batch file will contain whole file entries been processed. With the time passed, the compacted batch file will be accumulated to a relative large file. 
> With SPARK-17165, now {{FileStreamSource}} doesn't track the aged file entry, but in the log we still keep the full records,  this is not necessary and quite time-consuming during recovery. So here propose to also add file entry purging ability to {{FileStreamSource}} metadata log.
> This is pending on SPARK-15698.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org