GitHub user zhengruifeng opened a pull request:
https://github.com/apache/spark/pull/19288
[SPARK-22075][ML] unpersist datasets cached by PeriodicRDDCheckpointer
## What changes were proposed in this pull request?
PeriodicRDDCheckpointer will automatically persist the last 3 datasets
called by PeriodicRDDCheckpointer.update.
In GBTs, the last 3 intermediate rdds are still cached after fit()
## How was this patch tested?
existing tests and local test in spark-shell
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zhengruifeng/spark gbt_unpersist
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19288.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 #19288
----
commit d39b028a30f4cf5a63156b18fccce00c8165ac9a
Author: Zheng RuiFeng <[email protected]>
Date: 2017-09-20T05:54:48Z
create pr
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]