Skip to content

Conversation

@robertwb
Copy link
Contributor

@robertwb robertwb commented Sep 3, 2021

Specifically if both Runner v2 and use_portable_job_submission are enabled.


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.

Specifically if both Runner v2 and use_portable_job_submission are enabled.
@robertwb
Copy link
Contributor Author

robertwb commented Sep 3, 2021

R: @yifanmai

@codecov
Copy link

codecov bot commented Sep 4, 2021

Codecov Report

Merging #15458 (a5ea957) into master (c4e0b4a) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #15458   +/-   ##
=======================================
  Coverage   83.76%   83.76%           
=======================================
  Files         442      443    +1     
  Lines       60050    60121   +71     
=======================================
+ Hits        50302    50363   +61     
- Misses       9748     9758   +10     
Impacted Files Coverage Δ
...on/apache_beam/runners/dataflow/dataflow_runner.py 82.86% <100.00%> (+0.04%) ⬆️
...hon/apache_beam/runners/direct/test_stream_impl.py 94.02% <0.00%> (-2.24%) ⬇️
...pache_beam/runners/interactive/interactive_beam.py 75.53% <0.00%> (-1.07%) ⬇️
...he_beam/runners/interactive/sql/beam_sql_magics.py 54.70% <0.00%> (-0.96%) ⬇️
...runners/interactive/display/pcoll_visualization.py 85.26% <0.00%> (-0.53%) ⬇️
sdks/python/apache_beam/transforms/util.py 95.81% <0.00%> (-0.17%) ⬇️
...ks/python/apache_beam/runners/worker/sdk_worker.py 88.80% <0.00%> (-0.16%) ⬇️
sdks/python/apache_beam/pipeline.py 91.66% <0.00%> (ø)
sdks/python/apache_beam/io/gcp/bigquery.py 75.53% <0.00%> (ø)
.../python/apache_beam/portability/api/metrics_pb2.py 100.00% <0.00%> (ø)
... and 10 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 c4e0b4a...a5ea957. Read the comment docs.

@robertwb
Copy link
Contributor Author

Ping @yifanmai .

@yifanmai
Copy link
Contributor

Could you explain the meaning of "Avoid apiary submission"? My understanding from this code is that this change will now cause the graph JSON to be uploaded here when it previously would not have been, if we are using unified worker, use_portable_job_submission is set, and upload_graph is unset.

Relatedly, I recently noticed that setting upload_graph causes the graph optimizer to stop running; will this PR change this behavior?

@robertwb
Copy link
Contributor Author

robertwb commented Sep 11, 2021 via email

@yifanmai
Copy link
Contributor

Sounds good. I'll follow up separately re: the optimizer once I have a small repro.

@robertwb robertwb merged commit a63e15f into apache:master Sep 13, 2021
robertwb added a commit to robertwb/incubator-beam that referenced this pull request Sep 24, 2021
…pache#15458)"

This reverts commit a63e15f.

This avoids regressions from missing display data that was being copied from
the v1beta3 graph.
y1chi added a commit that referenced this pull request Sep 25, 2021
Revert "Avoid apiary submission of job graph when it is not needed. (#15458)"
dmitriikuzinepam pushed a commit to dmitriikuzinepam/beam that referenced this pull request Nov 2, 2021
dmitriikuzinepam pushed a commit to dmitriikuzinepam/beam that referenced this pull request Nov 2, 2021
…pache#15458)"

This reverts commit a63e15f.

This avoids regressions from missing display data that was being copied from
the v1beta3 graph.
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