GitHub user petermaxlee opened a pull request:

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

    [SPARK-17513][SQL] Make StreamExecution garbage-collect its metadata

    ## What changes were proposed in this pull request?
    This PR modifies StreamExecution such that it discards metadata for batches 
that have already been fully processed. I used the purge method that was added 
as part of SPARK-17235.
    
    ## How was this patch tested?
    A new test case in StreamingQuerySuite. The test case would fail without 
the changes in this pull request.


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

    $ git pull https://github.com/petermaxlee/spark SPARK-17513

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

    https://github.com/apache/spark/pull/15126.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 #15126
    
----
commit 8cc5e835b209d5796b044978ec4221ee22a8b9d2
Author: frreiss <[email protected]>
Date:   2016-09-08T19:59:15Z

    Added purge() call to scheduler

commit d71366d958334ebbc81e45c7f469bad2a68d0a2d
Author: frreiss <[email protected]>
Date:   2016-09-10T04:23:58Z

    Added test case and corrected off-by-one error.

commit 82f5b681c2e8e52f8549b21c7d058c497f2fc809
Author: frreiss <[email protected]>
Date:   2016-09-10T04:24:35Z

    Merge branch 'master' of https://github.com/apache/spark into fred-16963a

commit 6bd85faaf6cb5382f7c2a9d5a1b571281b8f6e62
Author: petermaxlee <[email protected]>
Date:   2016-09-17T06:49:37Z

    Merge pull request #15067 from frreiss/fred-16963a
    
    [SPARK-17513] [STREAMING] [SQL] Make StreamExecution garbage-collect its 
metadata

commit 6b64d5cd222c70071faa7aebd8db191d5e1c0185
Author: petermaxlee <[email protected]>
Date:   2016-09-17T07:16:28Z

    Fix test case.

----


---
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]

Reply via email to