GitHub user greghogan opened a pull request:

    https://github.com/apache/flink/pull/1616

    [FLINK-3335] [runtime] Fix DataSourceTask object reuse when disabled

    When object reuse is disabled, `DataSourceTask` now copies objects received 
from the `InputFormat` to prevent the collection of reused objects.
    
    An example where this is necessary is a `DataSet` created from a user 
implementation of `Iterator` which reuses a local object returned from 
`Iterator.next`.
    
    Also, when object reuse is enabled, the cycling among three objects has 
been removed. I had added this a few months ago when starting to resolve an 
issue with reduce drivers.

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

    $ git pull https://github.com/greghogan/flink 
3335_fix_datasourcetask_object_reuse_when_disabled

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

    https://github.com/apache/flink/pull/1616.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 #1616
    
----
commit 2678b9315a28ce27d888c7be53e5cce13b1afb35
Author: Greg Hogan <[email protected]>
Date:   2016-02-09T13:18:28Z

    [FLINK-3335] [runtime] Fix DataSourceTask object reuse when disabled
    
    When object reuse is disabled, DataSourceTask now copies objects received 
from
    the InputFormat to prevent the collection of reused objects.

----


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

Reply via email to