GitHub user petermaxlee opened a pull request:

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

    [SPARK-17513] [STREAMING] [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.
    
    This is a resubmission of 15126, which was based on work by frreiss in 
#15067, but fixed the test case along with some typos.
    
    ## 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-2

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

    https://github.com/apache/spark/pull/15166.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 #15166
    
----
commit 89d5deec63adbfdb7360c348deeb855ad4db89c2
Author: petermaxlee <petermax...@gmail.com>
Date:   2016-09-20T05:19:51Z

    [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.
    
    This is based on work by frreiss in #15067, but fixed the test case along 
with some typos.
    
    ## How was this patch tested?
    A new test case in StreamingQuerySuite. The test case would fail without 
the changes in this pull request.
    
    Author: petermaxlee <petermax...@gmail.com>
    Author: frreiss <frre...@us.ibm.com>
    
    Closes #15126 from petermaxlee/SPARK-17513.

commit 5e6113c941c37701c4e300d4ce3bb7821384529c
Author: petermaxlee <petermax...@gmail.com>
Date:   2016-09-20T18:41:45Z

    Fix test

----


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

Reply via email to