Skip to content

Conversation

@je-ik
Copy link
Contributor

@je-ik je-ik commented Apr 17, 2019

Fix possible NPEs in DoFnOperator.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- --- --- --- ---
Java Build Status Build Status Build Status Build Status
Build Status
Build Status
Build Status Build Status Build Status
Python Build Status
Build Status
--- Build Status
Build Status
Build Status --- --- ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website
Non-portable Build Status Build Status Build Status Build Status
Portable --- Build Status --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@je-ik
Copy link
Contributor Author

je-ik commented Apr 17, 2019

@aljoscha would you please review this?

Copy link
Contributor

@mxm mxm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix! Indeed, this can happen if open() has not been called yet and the operator shuts down, e.g. due to an error.

@mxm
Copy link
Contributor

mxm commented Apr 17, 2019

Run Portable_Python PreCommit

@mxm
Copy link
Contributor

mxm commented Apr 17, 2019

There an issue with the Jenkins hosts for the portable Python tests, but it's safe to merge this fix because it just adds additional null checks.

@mxm mxm merged commit 3682d0c into apache:master Apr 17, 2019
@je-ik je-ik deleted the BEAM-7091 branch June 24, 2019 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants