Skip to content

[BEAM-12724][BEAM-12349] Support user timers in Samza portable runner#15349

Merged
xinyuiscool merged 6 commits intoapache:masterfrom
kw2542:BEAM-12724
Aug 24, 2021
Merged

[BEAM-12724][BEAM-12349] Support user timers in Samza portable runner#15349
xinyuiscool merged 6 commits intoapache:masterfrom
kw2542:BEAM-12724

Conversation

@kw2542
Copy link
Copy Markdown
Contributor

@kw2542 kw2542 commented Aug 18, 2021

  1. Support user timers in Samza portable runner
  2. Enable user timers tests
  3. Tested with ./gradlew :sdks:python:test-suites:portable:py36:samzaCompatibilityMatrixLOOPBACK --rerun-tasks and ./gradlew :runners:samza:job-server:validatesPortableRunner

Please add a meaningful description for your change here


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.

ValidatesRunner compliance status (on master branch)

Lang 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
Python --- Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status ---
XLang Build Status Build Status Build Status Build Status Build Status ---

Examples testing status on various runners

Lang ULR Dataflow Flink Samza Spark Twister2
Go --- --- --- --- --- --- ---
Java --- Build Status
Build Status
Build Status
--- --- --- --- ---
Python --- --- --- --- --- --- ---
XLang --- --- --- --- --- --- ---

Post-Commit SDK/Transform Integration Tests Status (on master branch)

Go Java Python
Build Status 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.

1. Support user timers in Samza portable runner
2. Enable user timers tests
@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 18, 2021

Codecov Report

Merging #15349 (9369ffd) into master (a0fbe00) will decrease coverage by 0.12%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #15349      +/-   ##
==========================================
- Coverage   83.80%   83.67%   -0.13%     
==========================================
  Files         441      440       -1     
  Lines       59801    59950     +149     
==========================================
+ Hits        50115    50162      +47     
- Misses       9686     9788     +102     
Impacted Files Coverage Δ
sdks/python/apache_beam/io/gcp/bigquery.py 67.62% <0.00%> (-8.76%) ⬇️
...ks/python/apache_beam/runners/worker/data_plane.py 87.70% <0.00%> (-1.68%) ⬇️
.../python/apache_beam/transforms/periodicsequence.py 96.72% <0.00%> (-1.64%) ⬇️
sdks/python/apache_beam/internal/metrics/metric.py 90.42% <0.00%> (-1.07%) ⬇️
setup.py 0.00% <0.00%> (ø)
...dks/python/apache_beam/options/pipeline_options.py 95.16% <0.00%> (ø)
...apache_beam/runners/dataflow/internal/apiclient.py 74.66% <0.00%> (ø)
test_config.py
sdks/python/apache_beam/transforms/core.py 92.02% <0.00%> (+<0.01%) ⬆️
...ks/python/apache_beam/runners/worker/sdk_worker.py 88.95% <0.00%> (+0.10%) ⬆️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a0fbe00...9369ffd. Read the comment docs.

@kw2542
Copy link
Copy Markdown
Contributor Author

kw2542 commented Aug 18, 2021

Run Java PreCommit

@kw2542
Copy link
Copy Markdown
Contributor Author

kw2542 commented Aug 19, 2021

Run Python PreCommit

@kw2542
Copy link
Copy Markdown
Contributor Author

kw2542 commented Aug 19, 2021

Run Java Samza PortableValidatesRunner

@kw2542
Copy link
Copy Markdown
Contributor Author

kw2542 commented Aug 19, 2021

Run Python Samza ValidatesRunner

@kw2542
Copy link
Copy Markdown
Contributor Author

kw2542 commented Aug 19, 2021

@xinyuiscool @mynameborat @dxichen Can you take a look ?

Copy link
Copy Markdown
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! Thanks for adding timer support in portable samza runner.

@kw2542
Copy link
Copy Markdown
Contributor Author

kw2542 commented Aug 24, 2021

Run Java Samza PortableValidatesRunner

@kw2542
Copy link
Copy Markdown
Contributor Author

kw2542 commented Aug 24, 2021

Run Python Samza ValidatesRunner

@xinyuiscool xinyuiscool merged commit 7611831 into apache:master Aug 24, 2021
@kw2542 kw2542 deleted the BEAM-12724 branch August 24, 2021 16:45
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