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

Migrate examples and maven-archetypes (including Java Quickstart) to Spark 3 runner #23730

Merged
merged 1 commit into from
Oct 24, 2022

Conversation

mosche
Copy link
Member

@mosche mosche commented Oct 19, 2022

Migrate examples and maven-archetypes (including Java Quickstart) to Spark 3 runner to prepare for removal of Spark 2 runner (#23728).


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).
  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • 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.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

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

@codecov
Copy link

codecov bot commented Oct 19, 2022

Codecov Report

Merging #23730 (df5e3b5) into master (1179fdc) will decrease coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #23730      +/-   ##
==========================================
- Coverage   73.24%   73.17%   -0.07%     
==========================================
  Files         719      720       +1     
  Lines       95955    96062     +107     
==========================================
+ Hits        70279    70291      +12     
- Misses      24364    24459      +95     
  Partials     1312     1312              
Flag Coverage Δ
python 82.94% <ø> (-0.12%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
.../python/apache_beam/testing/test_stream_service.py 88.09% <0.00%> (-4.77%) ⬇️
sdks/python/apache_beam/io/source_test_utils.py 88.01% <0.00%> (-1.39%) ⬇️
...che_beam/runners/interactive/interactive_runner.py 90.50% <0.00%> (-1.27%) ⬇️
...apache_beam/typehints/native_type_compatibility.py 85.52% <0.00%> (-1.06%) ⬇️
...thon/apache_beam/runners/worker/sdk_worker_main.py 77.71% <0.00%> (-0.78%) ⬇️
sdks/python/apache_beam/runners/direct/executor.py 96.46% <0.00%> (-0.55%) ⬇️
...python/apache_beam/io/gcp/bigquery_schema_tools.py 83.58% <0.00%> (-0.51%) ⬇️
.../python/apache_beam/typehints/trivial_inference.py 96.15% <0.00%> (-0.27%) ⬇️
sdks/python/apache_beam/typehints/opcodes.py 85.35% <0.00%> (-0.26%) ⬇️
...hon/apache_beam/runners/worker/bundle_processor.py 93.42% <0.00%> (-0.13%) ⬇️
... and 12 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@github-actions
Copy link
Contributor

Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment assign set of reviewers

@mosche
Copy link
Member Author

mosche commented Oct 20, 2022

Run Python PreCommit

@mosche
Copy link
Member Author

mosche commented Oct 20, 2022

R: @ibzib
R: @emilymye
R: @aromanenko-dev

@github-actions
Copy link
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control

@mosche
Copy link
Member Author

mosche commented Oct 20, 2022

Run Java Examples_Spark

Copy link
Contributor

@aromanenko-dev aromanenko-dev left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -109,13 +109,8 @@ dependencies {
}
directRunnerPreCommit project(path: ":runners:direct-java", configuration: "shadow")
flinkRunnerPreCommit project(":runners:flink:${project.ext.latestFlinkVersion}")
// TODO: Make the netty version used configurable, we add netty-all 4.1.17.Final so it appears on the classpath
// before 4.1.8.Final defined by Apache Beam
sparkRunnerPreCommit "io.netty:netty-all:4.1.17.Final"
Copy link
Contributor

Choose a reason for hiding this comment

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

Why it was removed as well? Spark2 specific?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is far obsolete and has no effect ...

@mosche
Copy link
Member Author

mosche commented Oct 24, 2022

Thanks @aromanenko-dev

@mosche mosche merged commit 760c83e into apache:master Oct 24, 2022
@mosche mosche deleted the 23728_Spark3_migrate_examples branch October 24, 2022 08:30
ruslan-ikhsan pushed a commit to akvelon/beam that referenced this pull request Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants