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-12174] Samza Portable Runner Support #14554

Merged
merged 9 commits into from Apr 21, 2021
Merged

[BEAM-12174] Samza Portable Runner Support #14554

merged 9 commits into from Apr 21, 2021

Conversation

kw2542
Copy link
Contributor

@kw2542 kw2542 commented Apr 15, 2021

Update Samza runner with :

  1. SamzaJobServerDriver to extend JobServerDriver to support artifact staging, logging services etc.
  2. DoFnOp to get job bundle factory from SamzaExecutableStageContextFactory
  3. Add SamzaExecutableStageContextFactory to use DefaultJobBundleFactory to support starting docker container as workers automatically.

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 ULR Dataflow Flink Samza Spark Twister2
Go Build Status --- 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
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 Build Status --- Build Status ---

Pre-Commit Tests Status (on master branch)

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

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

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests

See CI.md for more information about GitHub Actions CI.

Update Samza runner to work with

1. Portable Runner
2. JobServerDriver
3. DefaultJobBundleFactory

in portability framework
@kw2542
Copy link
Contributor Author

kw2542 commented Apr 15, 2021

Copy link
Contributor

@xinyuiscool xinyuiscool 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 this refactoring. Overall looks good. A few minor things below.

@kennknowles
Copy link
Member

Is there already a test suite for the portable samza runner?

@kw2542
Copy link
Contributor Author

kw2542 commented Apr 20, 2021

Is there already a test suite for the portable samza runner?

Good question. There isn't any test enabled for portable samza runner at the moment, it is actually one of the goals for us when revamp the Samza runner to support portability.

@mynameborat
Copy link
Contributor

Looks good to me. @xinyuiscool can you merge it after it passes the build?

Copy link
Contributor

@xinyuiscool xinyuiscool left a comment

Choose a reason for hiding this comment

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

LGTM

@xinyuiscool xinyuiscool merged commit 9ab200c into apache:master Apr 21, 2021
@kw2542 kw2542 deleted the BEAM-12174 branch April 21, 2021 01:07
dxichen pushed a commit to linkedin/beam that referenced this pull request Aug 9, 2021
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.

None yet

4 participants