apache/spark — pull request #1981 by scwf (2014-08-16 03:22:51+00:00)
Title: [SPARK-3038] delete history server logs when there are too many logs

https://issues.apache.org/jira/browse/SPARK-3038
enhance history server to delete logs automatically
1 use spark.history.deletelogs.enable to enable this function
2 when app logs num is greater than spark.history.maxsavedapplication, delete the older logs