GitHub user uncleGen opened a pull request:

    https://github.com/apache/spark/pull/16142

    [SPARK-18716][CORE] Restrict the disk usage of spark event log.

    ## What changes were proposed in this pull request?
    
    We've had reports of overfull disk usage of spark event log file. Current 
implementation has following drawbacks:
    1. If we did not start Spark HistoryServer or Spark HistoryServer just 
failed, there is no chance to do clean work.
    2. Spark HistoryServer is cleaning event log file based on file age only. 
If there are abundant applications constantly, the disk usage in every 
**spark.history.fs.cleaner.maxAge** can still be very large.
    
    ## How was this patch tested?
    
    add new unit test
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/uncleGen/spark SPARK-18716

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/16142.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #16142
    
----
commit 8e46b16b15724eab907788265fde2063e2d444bf
Author: uncleGen <husty...@gmail.com>
Date:   2016-12-05T09:47:35Z

    SPARK-18716: Restrict the disk usage of spark event log.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to