GitHub user vpchelko opened a pull request: https://github.com/apache/spark/pull/16374
[SPARK-18925][STREAMING] Reduce memory usage of mapWithState ## What changes were proposed in this pull request? Reduced memory usage of mapWithState by cleaning all 'oldRDDs' except current and last checkpointed - overridden clearMetadata for InternalMapWithStateDStream ## How was this patch tested? Passed unit tests, manual tests You can merge this pull request into a Git repository by running: $ git pull https://github.com/vpchelko/spark spark-18925 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/16374.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 #16374 ---- commit 3888e11f3fc040636fdddd25b54652694e007544 Author: Vladimir Pchelko <pche...@productengine.com> Date: 2016-12-19T09:04:50Z [SPARK-18925][STREAMING] Reduce memory usage of mapWithState override clearMetadata for InternalMapWithStateDStream, clear all oldRDDs except current and last checkpointed ---- --- 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