You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by aljoscha <gi...@git.apache.org> on 2015/06/08 11:36:50 UTC

[GitHub] flink pull request: [FLINK-2054] Add object-reuse switch for strea...

GitHub user aljoscha opened a pull request:

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

    [FLINK-2054] Add object-reuse switch for streaming

    The switch was already there: enableObjectReuse() in ExecutionConfig.
    This was simply not considered by the streaming runtime. This change now
    draws a copy before forwarding an element to a chained operator when
    object reuse is disabled.

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

    $ git pull https://github.com/aljoscha/flink streaming-reuse-switch

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

    https://github.com/apache/flink/pull/803.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 #803
    
----
commit c1896ef6355f47f89215acff7eba9f944c461196
Author: Aljoscha Krettek <al...@gmail.com>
Date:   2015-06-08T09:32:27Z

    [FLINK-2054] Add object-reuse switch for streaming
    
    The switch was already there: enableObjectReuse() in ExecutionConfig.
    This was simply not considered by the streaming runtime. This change now
    draws a copy before forwarding an element to a chained operator when
    object reuse is disabled.

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] flink pull request: [FLINK-2054] Add object-reuse switch for strea...

Posted by aljoscha <gi...@git.apache.org>.
Github user aljoscha closed the pull request at:

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


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] flink pull request: [FLINK-2054] Add object-reuse switch for strea...

Posted by aljoscha <gi...@git.apache.org>.
Github user aljoscha commented on the pull request:

    https://github.com/apache/flink/pull/803#issuecomment-109955810
  
    I updated it. By default copying is on now. System operators can request to override the reuse setting.



---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] flink pull request: [FLINK-2054] Add object-reuse switch for strea...

Posted by gaborhermann <gi...@git.apache.org>.
Github user gaborhermann commented on the pull request:

    https://github.com/apache/flink/pull/803#issuecomment-109956597
  
    Thanks. It's working now.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] flink pull request: [FLINK-2054] Add object-reuse switch for strea...

Posted by aljoscha <gi...@git.apache.org>.
Github user aljoscha commented on the pull request:

    https://github.com/apache/flink/pull/803#issuecomment-109944731
  
    Ok, I'm working on it.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] flink pull request: [FLINK-2054] Add object-reuse switch for strea...

Posted by gaborhermann <gi...@git.apache.org>.
Github user gaborhermann commented on the pull request:

    https://github.com/apache/flink/pull/803#issuecomment-109955074
  
    As a note: I've just run into this issue at chained streaming aggregations when writing tests (not copying created wrong results). I will check again after this has been solved.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] flink pull request: [FLINK-2054] Add object-reuse switch for strea...

Posted by gyfora <gi...@git.apache.org>.
Github user gyfora commented on the pull request:

    https://github.com/apache/flink/pull/803#issuecomment-109959598
  
    It looks good to me now :) :+1: 
    
    Later we can disable copy for our sinks as well, but we can do that after the release.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---