beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mxm <...@git.apache.org>
Subject [GitHub] incubator-beam pull request #450: [flink] fix potential NPE in ParDoWrapper
Date Mon, 13 Jun 2016 12:44:03 GMT
GitHub user mxm opened a pull request:

    https://github.com/apache/incubator-beam/pull/450

    [flink] fix potential NPE in ParDoWrapper

    Just discovered this while checking for correct execution of the bundle life cycle. This
fixes potential NPEs in the ParDo translation wrapper. `startBundle(context)` receives `null`
as `context` before the first element has been read. Similarly, `finishBundle(context)` receives
`null` as `context` if no elements have been read.
    
    CC @aljoscha 

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

    $ git pull https://github.com/mxm/incubator-beam pr

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

    https://github.com/apache/incubator-beam/pull/450.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 #450
    
----
commit ef9f4c0bb4aecde5a99cd80e96223de306a05455
Author: Maximilian Michels <mxm@apache.org>
Date:   2016-06-13T12:26:45Z

    [flink] fix potential NPE in ParDoWrapper

----


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

Mime
View raw message