Skip to content

Commit 2deda7c

Browse files
authored
Merge branch 'apache:master' into add-watermark-filter
2 parents f4fefef + 4d2a5a7 commit 2deda7c

File tree

53 files changed

+6757
-7203
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+6757
-7203
lines changed

.github/workflows/beam_PostCommit_Java_Examples_Dataflow_V2.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,25 @@ jobs:
8383
uses: ./.github/actions/setup-environment-action
8484
with:
8585
java-version: 17
86+
- name: Set DOCKER_TAG unique variable based on timestamp
87+
run: echo "DOCKER_TAG=$(date +'%Y%m%d-%H%M%S%N')" >> $GITHUB_ENV
88+
- name: GCloud Docker credential helper
89+
run: |
90+
gcloud auth configure-docker us.gcr.io
8691
- name: run PostCommit Java Distroless Examples Dataflow V2 script
8792
uses: ./.github/actions/gradle-command-self-hosted-action
93+
env:
94+
USER: github-actions
8895
with:
8996
gradle-command: :runners:google-cloud-dataflow-java:examplesJavaRunnerV2IntegrationTestDistroless
9097
max-workers: 12
91-
arguments:
92-
-PskipCheckerFramework
93-
-PtestJavaVersion=17
94-
-Pjava17Home=$JAVA_HOME_17_X64
98+
arguments: |
99+
-PdisableSpotlessCheck=true \
100+
-PdisableCheckStyle=true \
101+
-PskipCheckerFramework \
102+
-PtestJavaVersion=java17 \
103+
-Pjava17Home=$JAVA_HOME_17_X64 \
104+
-PdockerTag=${{ env.DOCKER_TAG }} \
95105
- name: Archive JUnit Test Results
96106
uses: actions/upload-artifact@v4
97107
if: ${{ !success() }}

.github/workflows/beam_PreCommit_Java_GCP_IO_Direct.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ on:
2020
tags: ['v*']
2121
branches: ['master', 'release-*']
2222
paths:
23+
- "buildSrc/**"
2324
- "runners/core-java/**"
2425
- "sdks/java/core/src/main/**"
2526
- "sdks/java/extensions/arrow/**"
@@ -33,6 +34,7 @@ on:
3334
pull_request_target:
3435
branches: ['master', 'release-*']
3536
paths:
37+
- "buildSrc/**"
3638
- "runners/core-java/**"
3739
- 'release/trigger_all_tests.json'
3840
- '.github/trigger_files/beam_PreCommit_Java_GCP_IO_Direct.json'

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
* Yapf version upgraded to 0.43.0 for formatting (Python) ([#34801](https://github.com/apache/beam/pull/34801/)).
8787
* Python: Added JupyterLab 4.x extension compatibility for enhanced notebook integration ([#34495](https://github.com/apache/beam/pull/34495)).
8888
* Python: Argument abbreviation is no longer enabled within Beam. If you previously abbreviated arguments (e.g. `--r` for `--runner`), you will now need to specify the whole argument ([#34934](https://github.com/apache/beam/pull/34934)).
89+
* Java: Users of ReadFromKafkaViaSDF transform might encounter pipeline graph compatibility issues when updating the pipeline. To mitigate, set the `updateCompatibilityVersion` option to the SDK version used for the original pipeline, example `--updateCompatabilityVersion=2.64.0`
8990

9091
## Deprecations
9192

@@ -94,6 +95,7 @@
9495
## Bugfixes
9596

9697
* Fixed X (Java/Python) ([#X](https://github.com/apache/beam/issues/X)).
98+
* (Java) Fixed cassandraIO ReadAll does not let a pipeline handle or retry exceptions ([#34191](https://github.com/apache/beam/pull/34191)).
9799

98100
## Security Fixes
99101
* Fixed [CVE-YYYY-NNNN](https://www.cve.org/CVERecord?id=CVE-YYYY-NNNN) (Java/Python/Go) ([#X](https://github.com/apache/beam/issues/X)).

buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -611,12 +611,12 @@ class BeamModulePlugin implements Plugin<Project> {
611611
def dbcp2_version = "2.9.0"
612612
def errorprone_version = "2.10.0"
613613
// [bomupgrader] determined by: com.google.api:gax, consistent with: google_cloud_platform_libraries_bom
614-
def gax_version = "2.63.1"
614+
def gax_version = "2.65.0"
615615
def google_ads_version = "33.0.0"
616616
def google_clients_version = "2.0.0"
617617
def google_cloud_bigdataoss_version = "2.2.26"
618618
// [bomupgrader] determined by: com.google.cloud:google-cloud-spanner, consistent with: google_cloud_platform_libraries_bom
619-
def google_cloud_spanner_version = "6.89.0"
619+
def google_cloud_spanner_version = "6.93.0"
620620
def google_code_gson_version = "2.10.1"
621621
def google_oauth_clients_version = "1.34.1"
622622
// [bomupgrader] determined by: io.grpc:grpc-netty, consistent with: google_cloud_platform_libraries_bom
@@ -681,6 +681,7 @@ class BeamModulePlugin implements Plugin<Project> {
681681
antlr_runtime : "org.antlr:antlr4-runtime:4.7",
682682
args4j : "args4j:args4j:2.33",
683683
auto_value_annotations : "com.google.auto.value:auto-value-annotations:$autovalue_version",
684+
// TODO: https://github.com/apache/beam/issues/34993 after stopping supporting Java 8
684685
avro : "org.apache.avro:avro:1.11.4",
685686
avro_tests : "org.apache.avro:avro:1.11.3:tests",
686687
aws_java_sdk2_apache_client : "software.amazon.awssdk:apache-client:$aws_java_sdk2_version",
@@ -739,12 +740,12 @@ class BeamModulePlugin implements Plugin<Project> {
739740
google_api_client_gson : "com.google.api-client:google-api-client-gson:$google_clients_version",
740741
google_api_client_java6 : "com.google.api-client:google-api-client-java6:$google_clients_version",
741742
google_api_common : "com.google.api:api-common", // google_cloud_platform_libraries_bom sets version
742-
google_api_services_bigquery : "com.google.apis:google-api-services-bigquery:v2-rev20250313-2.0.0", // [bomupgrader] sets version
743+
google_api_services_bigquery : "com.google.apis:google-api-services-bigquery:v2-rev20250427-2.0.0", // [bomupgrader] sets version
743744
google_api_services_cloudresourcemanager : "com.google.apis:google-api-services-cloudresourcemanager:v1-rev20240310-2.0.0", // [bomupgrader] sets version
744745
google_api_services_dataflow : "com.google.apis:google-api-services-dataflow:v1b3-rev20250106-$google_clients_version",
745746
google_api_services_healthcare : "com.google.apis:google-api-services-healthcare:v1-rev20240130-$google_clients_version",
746747
google_api_services_pubsub : "com.google.apis:google-api-services-pubsub:v1-rev20220904-$google_clients_version",
747-
google_api_services_storage : "com.google.apis:google-api-services-storage:v1-rev20250224-2.0.0", // [bomupgrader] sets version
748+
google_api_services_storage : "com.google.apis:google-api-services-storage:v1-rev20250424-2.0.0", // [bomupgrader] sets version
748749
google_auth_library_credentials : "com.google.auth:google-auth-library-credentials", // google_cloud_platform_libraries_bom sets version
749750
google_auth_library_oauth2_http : "com.google.auth:google-auth-library-oauth2-http", // google_cloud_platform_libraries_bom sets version
750751
google_cloud_bigquery : "com.google.cloud:google-cloud-bigquery", // google_cloud_platform_libraries_bom sets version
@@ -756,13 +757,13 @@ class BeamModulePlugin implements Plugin<Project> {
756757
google_cloud_core_grpc : "com.google.cloud:google-cloud-core-grpc", // google_cloud_platform_libraries_bom sets version
757758
google_cloud_datacatalog_v1beta1 : "com.google.cloud:google-cloud-datacatalog", // google_cloud_platform_libraries_bom sets version
758759
google_cloud_dataflow_java_proto_library_all: "com.google.cloud.dataflow:google-cloud-dataflow-java-proto-library-all:0.5.160304",
759-
google_cloud_datastore_v1_proto_client : "com.google.cloud.datastore:datastore-v1-proto-client:2.27.1", // [bomupgrader] sets version
760+
google_cloud_datastore_v1_proto_client : "com.google.cloud.datastore:datastore-v1-proto-client:2.28.1", // [bomupgrader] sets version
760761
google_cloud_firestore : "com.google.cloud:google-cloud-firestore", // google_cloud_platform_libraries_bom sets version
761762
google_cloud_pubsub : "com.google.cloud:google-cloud-pubsub", // google_cloud_platform_libraries_bom sets version
762763
google_cloud_pubsublite : "com.google.cloud:google-cloud-pubsublite", // google_cloud_platform_libraries_bom sets version
763764
// [bomupgrader] the BOM version is set by scripts/tools/bomupgrader.py. If update manually, also update
764765
// libraries-bom version on sdks/java/container/license_scripts/dep_urls_java.yaml
765-
google_cloud_platform_libraries_bom : "com.google.cloud:libraries-bom:26.57.0",
766+
google_cloud_platform_libraries_bom : "com.google.cloud:libraries-bom:26.60.0",
766767
google_cloud_secret_manager : "com.google.cloud:google-cloud-secretmanager", // google_cloud_platform_libraries_bom sets version
767768
google_cloud_spanner : "com.google.cloud:google-cloud-spanner", // google_cloud_platform_libraries_bom sets version
768769
google_cloud_spanner_test : "com.google.cloud:google-cloud-spanner:$google_cloud_spanner_version:tests",

contributor-docs/release-guide.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ Verify that third party licenses are included in Docker. You can do this with a
587587
-c 'ls -al /opt/apache/beam/third_party_licenses/ | wc -l'
588588
done
589589

590-
for javaver in 8 11 17; do
590+
for javaver in 8 11 17 21; do
591591
docker run --rm --entrypoint sh \
592592
apache/beam_java${javaver}_sdk:${RC_TAG} \
593593
-c 'ls -al /opt/apache/beam/third_party_licenses/ | wc -l'
@@ -646,8 +646,8 @@ redirects for the 'current' version, merge these PRs in the order listed. Once
646646
the PR is merged, the new contents will get picked up automatically and served
647647
to the Beam website, usually within an hour. A committer can manually trigger
648648
the
649-
[beam_PostCommit_Website_Publish](https://ci-beam.apache.org/job/beam_PostCommit_Website_Publish/)
650-
task in Jenkins to avoid waiting.
649+
[beam_Publish Website](https://github.com/apache/beam/actions/workflows/beam_Publish_Website.yml)
650+
task in GitHub Actions to avoid waiting.
651651

652652
**PR 1: apache/beam-site**
653653

@@ -802,7 +802,7 @@ You can (optionally) also do additional verification by:
802802
- [ ] Check signatures (e.g. `gpg --verify apache-beam-1.2.3-python.tar.gz.asc
803803
apache-beam-1.2.3-python.tar.gz`)
804804
- [ ] `grep` for legal headers in each file.
805-
- [ ] Run all jenkins suites and include links to passing tests in the voting
805+
- [ ] Run all GitHub Action suites and include links to passing tests in the voting
806806
email.
807807
- [ ] Pull docker images to make sure they are pullable. (e.g. `docker pull apache/beam_python3.12_sdk:2.64.0rc2`)
808808
- [ ] [Google Internal] You have performed the internal Dataflow container release workflows (these take ~3 hours).
@@ -1189,7 +1189,7 @@ A PR should have already been created (and possibly merged) by github-actions bo
11891189
by looking at open PRs from that bot - https://github.com/apache/beam/pulls/app%2Fgithub-actions
11901190

11911191
If a PR has not been merged, drive it to completion.
1192-
If no PR was created, triage any failures in https://github.com/apache/beam/actions/workflows/beam_Publish_Website.yml and manually regenerate dependencies,
1192+
If no PR was created, triage any failures in https://github.com/apache/beam/actions/workflows/update_python_dependencies.yml and manually regenerate dependencies,
11931193
following https://cwiki.apache.org/confluence/display/BEAM/Python+Tips#PythonTips-HowtoupdatedependenciesthatareinstalledinPythoncontainerimages
11941194

11951195
### Update the Java starter repo

0 commit comments

Comments
 (0)