GitHub user holdenk opened a pull request:
https://github.com/apache/spark/pull/11919
[SPARK-6717][ML] Clear shuffle files after checkpointing in ALS
## What changes were proposed in this pull request?
When ALS is run with a checkpoint interval, during the checkpoint
materialize the current state and cleanup the previous shuffles (non-blocking).
## How was this patch tested?
Existing ALS unit tests, new ALS checkpoint cleanup unit tests added
(blocking for testing).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/holdenk/spark
SPARK-6717-clear-shuffle-files-after-checkpointing-in-ALS
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11919.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 #11919
----
commit 0931403387041d94bb95a860b0d7bb7526ea08b5
Author: Holden Karau <[email protected]>
Date: 2016-03-23T02:07:21Z
Cleanup comment, isn't always async
commit aeebc387ce8d5fac33b606d6fefa4d027a324b83
Author: Holden Karau <[email protected]>
Date: 2016-03-23T02:07:48Z
Switch to checkpoint & cleanup technique inside of ALS
commit 341daac848b1327babf760a418499afb67987690
Author: Holden Karau <[email protected]>
Date: 2016-03-23T04:16:33Z
Mention we materialize in the checkPoint
commit 542ea9718459de213cbffd75249aaf94b8c86eb1
Author: Holden Karau <[email protected]>
Date: 2016-03-23T04:18:19Z
Don't unpersist since we already do automatically.
commit 2f1939904259ac625f839c5cbca90790ead37ef5
Author: Holden Karau <[email protected]>
Date: 2016-03-23T18:43:44Z
Some style fixes
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]