Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BEAM-9405] Fix post-commit error about create_job_service #11001

Merged
merged 1 commit into from Feb 28, 2020

Conversation

chadrik
Copy link
Contributor

@chadrik chadrik commented Feb 28, 2020

PortableRunner.create_job_service was renamed since it now returns a new type, JobServiceHandle. This PR changes that method back to its original name, so that it does not break in scenarios like the test which do not care about the return type. It also adds a docstring and improves some variable names to add additional clarity.


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.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- Build Status --- --- Build Status
Java Build Status Build Status Build Status
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
Build Status
Build Status
Build Status
--- --- Build Status
XLang --- --- --- 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 Build Status
Portable --- Build Status --- ---

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

create_job_service was renamed since it now returns a new type, JobServiceHandle.  revert to use the original name so that it does not break in scenarios like the test which do not care about the return type.
@chadrik
Copy link
Contributor Author

chadrik commented Feb 28, 2020

R: @kamilwu

@chadrik
Copy link
Contributor Author

chadrik commented Feb 28, 2020

R: @robertwb
R: @udim

@udim
Copy link
Member

udim commented Feb 28, 2020

run python 2 postcommit

Copy link
Member

@udim udim left a comment

Choose a reason for hiding this comment

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

LGTM pending postcommit success

@chadrik
Copy link
Contributor Author

chadrik commented Feb 28, 2020

@udim tests pass.

btw, I don't have the ability to merge this. should I?

@udim
Copy link
Member

udim commented Feb 28, 2020

@udim tests pass.

btw, I don't have the ability to merge this. should I?

Perhaps you need to also be a member of https://github.com/orgs/apache/teams/beam-committers, but I don't know if you should be doing anything. @kennknowles

@udim udim merged commit 6e69b26 into apache:master Feb 28, 2020
@kamilwu
Copy link
Contributor

kamilwu commented Mar 2, 2020

Thanks for taking care of that, @chadrik!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants