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

Initial DaskRunner for Beam. #1

Closed
wants to merge 142 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
5773178
BEAM-14525 Fix for Protobuf getter/setter method name discovery issue
nbali May 27, 2022
5d482c3
BEAM-14525 Added a proto message with the problematic properties to u…
nbali May 27, 2022
87267d5
[BEAM-14101] Add Spark Receiver IO package and ReceiverBuilder (squas…
Amar3tto Mar 9, 2022
7efd594
[BEAM-14506] Adding testcases and examples for xlang Python RunInference
ihji Jun 7, 2022
a165e40
Bump protobufjs from 6.11.2 to 6.11.3 in /sdks/typescript
dependabot[bot] Jun 28, 2022
d69b217
add new pubsub urn
Jun 21, 2022
2cb2ee2
Moves timestamp skew override to correct place
egalpin Jul 5, 2022
7bfcf46
Fix build error due to dep confliction of google-cloud-bigquery-stora…
Abacn Jul 8, 2022
315322b
Fix atomicwrites old version purge on pypi
Abacn Jul 8, 2022
4bd44e8
Several requests to show experiments in Dataflow UI
pabloem Jul 8, 2022
4b4077d
Merge pull request #22205 Fix build error due to dep confliction of g…
robertwb Jul 8, 2022
f641c24
Add typescript documentation to the programing guide. (#22137)
robertwb Jul 9, 2022
9fb8be0
[Website] Update minimum required Go version for sdk development (#22…
manuzhang Jul 10, 2022
262f2b7
Parallelizable DataFrame/Series mean (#22174)
TheNeuralBit Jul 10, 2022
3d8db78
Split checkStyle from precommit into spotless job (#22203)
Abacn Jul 11, 2022
abc8099
Allow one to bound the size of output shards when writing to files. (…
robertwb Jul 11, 2022
821c07f
Bump moment from 2.29.2 to 2.29.4 in /sdks/python/apache_beam/runners…
dependabot[bot] Jul 11, 2022
da84804
Allow BigQuery TableIds to have space in between (#22167)
dgdheeraj Jul 11, 2022
6e16941
Use async as a suffix rather than a prefix for asynchronous variants.…
robertwb Jul 11, 2022
eb071fa
Override log levels after log handler is created (#22191)
Abacn Jul 11, 2022
ca7b3b5
Remove deprecated unused option in seed job script (#22223)
Abacn Jul 11, 2022
983e5c0
Better error for external BigQuery tables. (#22178)
robertwb Jul 11, 2022
0140c9c
Adds TestStream to verify window preservation of ElasticsearchIO#write
egalpin Jul 11, 2022
60e9573
Removes unnecessary line
egalpin Jul 11, 2022
a8775f0
Try to fix playground workflow (#22226)
damccorm Jul 11, 2022
d5cec82
update
ihji Jul 12, 2022
1dc015f
update
ihji Jul 12, 2022
52753a9
Add org.pentaho to calcite relocated packages to fix vendoring valida…
Jul 12, 2022
406494b
[BEAM-22229] Override external SDK container URLs for Dataflow by def…
ihji Jul 12, 2022
30d25de
Adds validation that ES#Write outputs are in expected windows
egalpin Jul 12, 2022
132d634
Updates window verification test to assert the exact docs in the window
egalpin Jul 12, 2022
c7e77f9
Adding VladMatyunin as collaborator (#22239)
pabloem Jul 12, 2022
029a2e3
Merge pull request #21966: add new pubsub urn
reuvenlax Jul 12, 2022
d2212b3
Merge pull request #22207 from Several requests to show experiments i…
pabloem Jul 12, 2022
b9dabeb
Uses guava Iterables over shaded avro version
egalpin Jul 12, 2022
be922c9
Mark session runner as deprecated (#22242)
jrmccluskey Jul 12, 2022
139ca67
Merge pull request #22228: Add org.pentaho to calcite relocated packa…
chamikaramj Jul 12, 2022
ad3af31
Fix query retry in Java FirestoreIO.
danthev Jul 12, 2022
d4d7d93
Update google-cloud-core dependency to <3 (#22237)
johnjcasey Jul 12, 2022
cc10d15
Move WC integration test to generic registration (#22248)
jrmccluskey Jul 13, 2022
2c8e7eb
Move Xlang Go examples to generic registration (#22249)
jrmccluskey Jul 13, 2022
5b54b04
enabled multifile flag for multifile examples (PG)
VladMatyunin Jul 13, 2022
b4c251a
Move Go Primitives Integration Tests to Generic Registration (#22247)
jrmccluskey Jul 13, 2022
fa5bcfa
Move native Go examples to generic registration (#22245)
jrmccluskey Jul 13, 2022
9cf8cf5
Move youngoli to the reviewer exclusion list (#22195)
damccorm Jul 13, 2022
51ed8db
Bump google.golang.org/api from 0.86.0 to 0.87.0 in /sdks (#22253)
dependabot[bot] Jul 13, 2022
f88b9ec
Bump cloud.google.com/go/bigquery from 1.34.1 to 1.35.0 in /sdks (#22…
dependabot[bot] Jul 13, 2022
d54841c
Bump google.golang.org/grpc from 1.47.0 to 1.48.0 in /sdks (#22252)
dependabot[bot] Jul 13, 2022
b78a080
Merge pull request #15786: Add gap-filling transform for timeseries
reuvenlax Jul 13, 2022
316dfae
Merge pull request #21809 from ihji/BEAM-14506
ihji Jul 13, 2022
e69ada9
Adds an experiment that allows opting into using Kafka SDF-wrapper
chamikaramj Jul 13, 2022
48c081e
Defocus iframe on blur or mouseout (#22153) (#22154)
alexeyinkin Jul 13, 2022
9574973
Fix pydoc rendering for annotated classes (#22121)
Abacn Jul 13, 2022
f2e41be
Merge pull request #22251: Adds an experiment that allows opting into…
chamikaramj Jul 13, 2022
8a32df1
Fix typo in comment (#22266)
lukecwik Jul 14, 2022
e6de18c
Split words on new lines or spaces (#22270)
damccorm Jul 14, 2022
67e6726
Replace \r\n, not just \n
damccorm Jul 14, 2022
a7a2985
Pg auth test (#22277)
MakarkinSAkvelon Jul 14, 2022
63c2d14
[BEAM-14073] [CdapIO] CDAP IO for batch plugins: Read, Write. Unit te…
Amar3tto Jul 14, 2022
0e62669
update
ihji Jul 14, 2022
c14a4cf
[Fix #22151] Add fhirio.Deidentify transform (#22152)
lnogueir Jul 14, 2022
543b9bd
Merge pull request #22230 from ihji/BEAM-22229
ihji Jul 14, 2022
72bf1a2
Don't try to parse non-flags as retained pipeline options.
robertwb Jul 14, 2022
64bcc7d
Remove locks around ExecutionStateSampler (#22190)
steveniemitz Jul 14, 2022
b3963b7
Enables UnboundedSource wrapped SDF Kafka source by default for x-lan…
chamikaramj Jul 14, 2022
2b42751
Merge pull request #22175: [BEAM-22089] Fix query retry in Java Fires…
chamikaramj Jul 15, 2022
b0225ca
Merge pull request #17111: [BEAM-14101] [CdapIO] Add ReceiverBuilder …
aromanenko-dev Jul 15, 2022
673a4cc
Merge pull request #22183 from egalpin/egalpin/timestamp-skew-es
egalpin Jul 15, 2022
2f13855
Merge pull request #22140 from [Playground Task] Sharing any code API
vchunikhin Jul 15, 2022
896bf1a
Merge pull request #22286: Enables UnboundedSource wrapped SDF Kafka …
chamikaramj Jul 15, 2022
62a0d0a
[Website] add playground section, update playground, update get-start…
bullet03 Jun 21, 2022
c092af2
RunInference documentation updates. (#22236)
ryanthompson591 Jul 15, 2022
3dcdcf3
Merge pull request #22276 Don't try to parse non-flags as retained pi…
robertwb Jul 15, 2022
7dcc6d8
Turn pr bot on for remaining common labels (#22257)
damccorm Jul 15, 2022
56ee83e
Reviewing the RunInference ReadMe file for clarity. (#22069)
rszper Jul 15, 2022
9bb5d5c
Merge pull request #22071 Bump protobufjs from 6.11.2 to 6.11.3 in /s…
robertwb Jul 15, 2022
23a8535
Collect heap profile on OOM on Dataflow (#22225)
damccorm Jul 15, 2022
2ba5317
fixing the missing wrap around ring range read (#21786)
vmarquez Jul 15, 2022
29b26be
Merge pull request #21959 from [Website] add playground section
pabloem Jul 15, 2022
fa028d3
Update RunInference documentation (#22250)
rszper Jul 15, 2022
4da1368
Rewrote Java multi-language pipeline quickstart (#22263)
pcoet Jul 15, 2022
2a42b96
Merge pull request #22300 from Fixed [Playground] DeployExamples, mod…
MakarkinSAkvelon Jul 16, 2022
20274f3
Merge pull request #22259 from akvelon/pg-trigger-deploy-examples
pabloem Jul 16, 2022
9efaadf
[website] Add TPC-DS benchmark documentation
aromanenko-dev Jun 24, 2022
15c3c8f
Increase streaming server timeout (#22280)
byronellis Jul 18, 2022
799eed2
Merge pull request #22047: [website] Add TPC-DS benchmark documentation
aromanenko-dev Jul 18, 2022
001dd37
[Website] change getting window width method
bullet03 Jul 13, 2022
4b5efc3
[BEAM-14117] Unvendor bytebuddy dependency (#17317)
cushon Jul 18, 2022
1805382
Use npm ci instead of install in CI (#22323)
damccorm Jul 18, 2022
70f26ad
Fix typo in use_single_core_per_container logic. (#22318)
robertwb Jul 18, 2022
5dc02f5
Require unique names for stages.
robertwb Jul 18, 2022
2eaab62
Support combiner lifting.
robertwb Jul 19, 2022
f2be806
[#22319] Regenerate proto2_coder_test_messages_pb2.py manually (#22320)
lukecwik Jul 19, 2022
1abfb54
Add links to the new RunInference content to Learning Resources (#22325)
rszper Jul 19, 2022
efde3f1
Unskip RunInference IT tests (#22324)
AnandInguva Jul 19, 2022
31cee39
cleaned up types in standard_coders.ts (#22316)
pcoet Jul 19, 2022
abcc9e0
JMH module for sdks:java:core with benchmarks for GetterBasedSchemaPr…
Jul 19, 2022
ba38a4d
Bump cloud.google.com/go/pubsub from 1.23.1 to 1.24.0 in /sdks (#22332)
dependabot[bot] Jul 19, 2022
ecd1362
[#22181] Fix java package for SDK java core benchmark org.apache.beam…
lukecwik Jul 19, 2022
203cb13
Allow jmhTest to run concurrently with other jmhTest instances
lukecwik Jul 19, 2022
ba62704
Merge pull request #22327 Require unique names for stages.
robertwb Jul 19, 2022
9352093
Merge pull request #22346 from lukecwik/22181
lukecwik Jul 20, 2022
4821e03
[BEAM-13015, #21250] Optimize encoding to a ByteString (#22345)
lukecwik Jul 20, 2022
367173f
Bump google.golang.org/api from 0.87.0 to 0.88.0 in /sdks (#22350)
dependabot[bot] Jul 20, 2022
944056c
Merge branch 'master' into BEAM-14525
nbali Jul 20, 2022
b5144a2
PR CR: updating issue links
nbali Jul 20, 2022
12754bb
More clarification.
robertwb Jul 20, 2022
9697c13
Merge pull request #22330 Support combiner lifting.
robertwb Jul 21, 2022
caaefc0
[CdapIO] HasOffset interface was implemented (#22193)
sorokin-andrey Jul 21, 2022
50346b5
added olehborysevych as collaborator (#22391)
Jul 21, 2022
86d0564
Add accept-language header for MPL license (#22395)
TheNeuralBit Jul 21, 2022
f2f239a
Merge pull request #17775 from nbali/BEAM-14525
kileys Jul 21, 2022
0581c49
Bump terser from 5.9.0 to 5.14.2 in /sdks/python/apache_beam/runners/…
dependabot[bot] Jul 22, 2022
72127f9
Fixes #22156: Fix Spark3 runner to compile against Spark 3.2/3.3 and …
Jul 22, 2022
8d59cf7
Closes #22407: Separate sources for SparkStructuredStreamingRunner fo…
Jul 22, 2022
79d677f
Add deprecation warning for Spark 2 in SparkStructuredStreamingRunner
Jul 22, 2022
b9f6af5
Merge pull request #22408 from mosche/22407-separate-spark-ssrunner-s…
echauchot Jul 22, 2022
23e10eb
Bump cloud.google.com/go/storage from 1.23.0 to 1.24.0 in /sdks (#22377)
dependabot[bot] Jul 22, 2022
1cd5d73
Merge pull request #22256: [Website] change getting window width method
aromanenko-dev Jul 22, 2022
68ff1c7
Removing experimental annotation from JdbcIO
pabloem Jul 22, 2022
9494166
Drop timeseries:postCommit dependency (#22414)
TheNeuralBit Jul 22, 2022
52a8af5
Merge pull request #22412 from Removing experimental annotation from …
pabloem Jul 22, 2022
df99d6a
Deduplicate identical environments in a pipeline. (#22308)
robertwb Jul 22, 2022
e9599cb
WIP: Created a skeleton dask runner implementation.
alxmrs Jun 22, 2022
9ed09fd
WIP: Idea for a translation evaluator.
alxmrs Jun 23, 2022
558699f
Added overrides and a visitor that translates operations.
alxmrs Jul 2, 2022
21487da
Fixed a dataclass typo.
alxmrs Jul 2, 2022
96836cd
Expanded translations.
alxmrs Jul 2, 2022
5e13f34
Core idea seems to be kinda working...
alxmrs Jul 2, 2022
a927761
First iteration on DaskRunnerResult (keep track of pipeline state).
alxmrs Jul 3, 2022
fcf454f
Added minimal set of DaskRunner options.
alxmrs Jul 4, 2022
6c14f18
WIP: Alllmost got asserts to work! The current status is:
alxmrs Jul 8, 2022
6036018
With a great 1-liner from @pabloem, groupby is fixed! Now, all three …
alxmrs Jul 8, 2022
a2f7e65
Self-review: Cleaned up dask runner impl.
alxmrs Jul 8, 2022
6a98242
Self-review: Remove TODOs, delete commented out code, other cleanup.
alxmrs Jul 8, 2022
f40baa8
First pass at linting rules.
alxmrs Jul 9, 2022
71ca53e
WIP, include dask dependencies + test setup.
alxmrs Jul 9, 2022
a74e89f
WIP: maybe better dask deps?
alxmrs Jul 9, 2022
92971e5
Skip dask tests depending on successful import.
alxmrs Jul 10, 2022
5f031a4
Fixed setup.py (missing `,`).
alxmrs Jul 11, 2022
806a456
Added an additional comma.
alxmrs Jul 11, 2022
4a69b18
Moved skipping logic to be above dask import.
alxmrs Jul 11, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ github:
# Give some users issue triage permissions
collaborators:
- pcoet
- VladMatyunin
- olehborysevych

enabled_merge_buttons:
squash: true
Expand Down
25 changes: 23 additions & 2 deletions .github/REVIEWERS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ labels:
- damccorm
- lostluck
- jrmccluskey
- youngoli
- riteshghorse
exclusionList: []
exclusionList:
- youngoli
- name: Python
reviewers:
- AnandInguva
Expand All @@ -36,4 +36,25 @@ labels:
- pabloem
- y1chi
exclusionList: []
- name: Java
reviewers:
- lukecwik
- kennknowles
- robertwb
- kileys
- apilloud
exclusionList: []
- name: IO
reviewers:
- chamikaramj
- johnjcasey
- pabloem
- Abacn
- ahmedabu98
exclusionList: []
- name: Build
reviewers:
- damccorm
- Abacn
exclusionList: []
fallbackReviewers: []
1 change: 1 addition & 0 deletions .github/autolabeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ extensions: ["sdks/java/extensions/**/*", "runners/extensions-java/**/*"]
"sketching": ["sdks/java/extensions/sketching/**/*"]
"sorter": ["sdks/java/extensions/sorter/**/*"]
"sql": ["sdks/java/extensions/sql/**/*"]
"timeseries": ["sdks/java/extensions/timeseries/*"]
"zetasketch": ["sdks/java/extensions/zetasketch/**/*"]

# IO
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_playground_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
uses: google-github-actions/setup-gcloud@v0
with:
install_components: 'beta,cloud-datastore-emulator'
version: '389.0.0'

- name: Run PreCommit
run: ./gradlew playground:backend:precommit
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/playground_deploy_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@
name: Collect And Deploy Playground Examples

on:
push:
tags: 'v*'
branches: ['master', 'release-*']
pull_request:
workflow_dispatch:
types:
- closed
branches: ['master']
env:
BEAM_ROOT_DIR: ../../
BEAM_EXAMPLE_CATEGORIES: ../categories.yaml
Expand Down Expand Up @@ -48,7 +47,8 @@ jobs:
name: get Difference
id: check_file_changed
run: |
$diff = git diff --name-only master
$diff = git diff --name-only ${{ github.event.before }} ${{ github.event.after }}
echo "$diff"
Write-Host "::set-output name=example_diff::$diff"
- name: has Examples
run: |
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
run: |
echo "${{ secrets.GCP_PLAYGROUND_SA_KEY }}" | base64 -d > /tmp/gcp_access.json
which gcloud
gcloud auth activate-service-account --project=apache-beam-testing --key-file=/tmp/gcp_access.json
gcloud auth activate-service-account --project=${{ secrets.GCP_PLAYGROUND_PROJECT_ID }} --key-file=/tmp/gcp_access.json
- name: Set Docker Tag
run: echo "DOCKERTAG=${GITHUB_SHA}" >> $GITHUB_ENV
- name: Set Docker Tag If Github Tag was trigger
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-bot-new-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- run: npm install
- run: npm ci
working-directory: 'scripts/ci/pr-bot'

# Runs a set of commands using the runners shell
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-bot-pr-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- uses: actions/checkout@v2
with:
ref: 'master'
- run: npm install
- run: npm ci
working-directory: 'scripts/ci/pr-bot'

# Runs a set of commands using the runners shell
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-bot-prs-needing-attention.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- run: npm install
- run: npm ci
working-directory: 'scripts/ci/pr-bot'

# Runs a set of commands using the runners shell
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-bot-update-reviewers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- run: npm install
- run: npm ci
working-directory: 'scripts/ci/pr-bot'

# Runs a set of commands using the runners shell
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reportGenerator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: |
npm install
npm ci
node generateReport.js
working-directory: 'scripts/ci/issue-report'
env:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/self-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
- uses: actions/github-script@v6
with:
script: |
const body = context.payload.comment.body.split(' ');
const body = context.payload.comment.body.replace( /\r\n/g, " " ).replace( /\n/g, " " ).split(' ');
console.log(body);
for (let i = 0; i < body.length; i++) {
const bodyString = body[i].toLowerCase();
if (bodyString == '.take-issue') {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/typescript_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: '16'
- run: npm install
- run: npm ci
working-directory: ./sdks/typescript
- run: npm run build
working-directory: ./sdks/typescript
Expand Down
1 change: 0 additions & 1 deletion .test-infra/jenkins/committers_list_generator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ def get_committers_github_usernames(ldap_uris, cert_path):
connection = None
try:
ldap.set_option(ldap.OPT_X_TLS_CACERTFILE, cert_path)
ldap.set_option(ldap.OPT_X_TLS, ldap.OPT_X_TLS_DEMAND)
ldap.set_option(ldap.OPT_X_TLS_DEMAND, True)
ldap.set_option(ldap.OPT_REFERRALS, 0)
connection = ldap.initialize(ldap_uris)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ PostcommitJobBuilder.postCommitJob('beam_PostCommit_Java_Examples_Dataflow_V2_ja
// overloading the machines.
commonJobProperties.setGradleSwitches(delegate, 3 * Runtime.runtime.availableProcessors())
switches '-PdisableSpotlessCheck=true'
switches '-PdisableCheckStyle=true'
switches '-PcompileAndRunTestsWithJava11'
switches '-PskipCheckerFramework'
switches "-Pjava11Home=${commonJobProperties.JAVA_11_HOME}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ PostcommitJobBuilder.postCommitJob('beam_PostCommit_Java_Examples_Dataflow_V2_ja
// overloading the machines.
commonJobProperties.setGradleSwitches(delegate, 3 * Runtime.runtime.availableProcessors())
switches '-PdisableSpotlessCheck=true'
switches '-PdisableCheckStyle=true'
switches '-PcompileAndRunTestsWithJava17'
switches '-PskipCheckerFramework'
switches "-Pjava17Home=${commonJobProperties.JAVA_17_HOME}"
Expand Down
6 changes: 2 additions & 4 deletions .test-infra/jenkins/job_PreCommit_Java.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ PrecommitJobBuilder builder = new PrecommitJobBuilder(
nameBase: 'Java',
gradleTask: ':javaPreCommit',
gradleSwitches: [
'-PdisableSpotlessCheck=true'
'-PdisableSpotlessCheck=true',
'-PdisableCheckStyle=true'
], // spotless checked in separate pre-commit
timeoutMins: 180,
triggerPathPatterns: [
Expand All @@ -45,9 +46,6 @@ builder.build {
tools {
errorProne()
java()
checkStyle {
pattern('**/build/reports/checkstyle/*.xml')
}
spotBugs {
pattern('**/build/reports/spotbugs/*.xml')
}
Expand Down
3 changes: 2 additions & 1 deletion .test-infra/jenkins/job_PreCommit_Java_AWS2_IO_Direct.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ PrecommitJobBuilder builder = new PrecommitJobBuilder(
nameBase: 'Java_Amazon-Web-Services2_IO_Direct',
gradleTask: 'sdks:java:io:amazon-web-services2:integrationTest',
gradleSwitches: [
'-PdisableSpotlessCheck=true'
'-PdisableSpotlessCheck=true',
'-PdisableCheckStyle=true'
], // spotless checked in separate pre-commit
triggerPathPatterns: [
'^sdks/java/io/amazon-web-services2/.*$',
Expand Down
3 changes: 2 additions & 1 deletion .test-infra/jenkins/job_PreCommit_Java_AWS_IO_Direct.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ PrecommitJobBuilder builder = new PrecommitJobBuilder(
nameBase: 'Java_Amazon-Web-Services_IO_Direct',
gradleTask: ':sdks:java:io:amazon-web-services:integrationTest',
gradleSwitches: [
'-PdisableSpotlessCheck=true'
'-PdisableSpotlessCheck=true',
'-PdisableCheckStyle=true'
], // spotless checked in separate pre-commit
triggerPathPatterns: [
'^sdks/java/io/amazon-web-services/.*$',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ PrecommitJobBuilder builder = new PrecommitJobBuilder(
nameBase: 'Java_Debezium_IO_Direct',
gradleTask: ':sdks:java:io:debezium:integrationTest',
gradleSwitches: [
'-PdisableSpotlessCheck=true'
'-PdisableSpotlessCheck=true',
'-PdisableCheckStyle=true'
], // spotless checked in separate pre-commit
triggerPathPatterns: [
'^sdks/java/io/debezium/.*$',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ PrecommitJobBuilder builder = new PrecommitJobBuilder(
nameBase: 'Java_Examples_Dataflow',
gradleTask: ':javaExamplesDataflowPreCommit',
gradleSwitches: [
'-PdisableSpotlessCheck=true'
'-PdisableSpotlessCheck=true',
'-PdisableCheckStyle=true'
], // spotless checked in separate pre-commit
triggerPathPatterns: [
'^model/.*$',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ PrecommitJobBuilder builder = new PrecommitJobBuilder(
gradleTask: ':clean',
gradleSwitches: [
'-PdisableSpotlessCheck=true',
'-PdisableCheckStyle=true',
'-PskipCheckerFramework' // Gradle itself is running under JDK8 so plugin configures wrong for JDK11
], // spotless checked in separate pre-commit
triggerPathPatterns: [
Expand All @@ -47,6 +48,7 @@ builder.build {
rootBuildScriptDir(properties.checkoutDir)
tasks 'javaExamplesDataflowPreCommit'
switches '-PdisableSpotlessCheck=true'
switches '-PdisableCheckStyle=true'
switches '-PskipCheckerFramework' // Gradle itself is running under JDK8 so plugin configures wrong for JDK11
switches '-PcompileAndRunTestsWithJava11'
switches "-Pjava11Home=${properties.JAVA_11_HOME}"
Expand Down
3 changes: 2 additions & 1 deletion .test-infra/jenkins/job_PreCommit_Java_GCP_IO_Direct.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ PrecommitJobBuilder builder = new PrecommitJobBuilder(
nameBase: 'Java_GCP_IO_Direct',
gradleTask: ':sdks:java:io:google-cloud-platform:postCommit',
gradleSwitches: [
'-PdisableSpotlessCheck=true'
'-PdisableSpotlessCheck=true',
'-PdisableCheckStyle=true'
], // spotless checked in separate pre-commit
timeoutMins: 120,
triggerPathPatterns: [
Expand Down
3 changes: 2 additions & 1 deletion .test-infra/jenkins/job_PreCommit_Java_JDBC_IO_Direct.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ PrecommitJobBuilder builder = new PrecommitJobBuilder(
nameBase: 'Java_JDBC_IO_Direct',
gradleTask: ':sdks:java:io:jdbc:integrationTest',
gradleSwitches: [
'-PdisableSpotlessCheck=true'
'-PdisableSpotlessCheck=true',
'-PdisableCheckStyle=true'
], // spotless checked in separate pre-commit
triggerPathPatterns: [
'^sdks/java/io/jdbc/.*$',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ PrecommitJobBuilder builder = new PrecommitJobBuilder(
nameBase: 'Java_Kafka_IO_Direct',
gradleTask: ':sdks:java:io:kafka:kafkaVersionsCompatibilityTest',
gradleSwitches: [
'-PdisableSpotlessCheck=true'
'-PdisableSpotlessCheck=true',
'-PdisableCheckStyle=true'
], // spotless checked in separate pre-commit
triggerPathPatterns: [
'^sdks/java/io/kafka/.*$',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ PrecommitJobBuilder builder = new PrecommitJobBuilder(
nameBase: 'Java_Kinesis_IO_Direct',
gradleTask: ':sdks:java:io:kinesis:integrationTest',
gradleSwitches: [
'-PdisableSpotlessCheck=true'
'-PdisableSpotlessCheck=true',
'-PdisableCheckStyle=true'
], // spotless checked in separate pre-commit
triggerPathPatterns: [
'^sdks/java/io/kinesis/.*$',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ PrecommitJobBuilder builder = new PrecommitJobBuilder(
nameBase: 'Java_Neo4j_IO_Direct',
gradleTask: ':sdks:java:io:neo4j:integrationTest',
gradleSwitches: [
'-PdisableSpotlessCheck=true'
'-PdisableSpotlessCheck=true',
'-PdisableCheckStyle=true'
], // spotless checked in separate pre-commit
triggerPathPatterns: [
'^sdks/java/io/neo4j/.*$',
Expand Down
37 changes: 37 additions & 0 deletions .test-infra/jenkins/job_PreCommit_Java_Spark3_Versions.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import PrecommitJobBuilder

PrecommitJobBuilder builder = new PrecommitJobBuilder(
scope: this,
nameBase: 'Java_Spark3_Versions',
gradleTask: ':runners:spark:3:sparkVersionsTest',
gradleSwitches: [
'-PdisableSpotlessCheck=true'
], // spotless checked in separate pre-commit
triggerPathPatterns: [
'^runners/spark/.*$',
],
timeoutMins: 120,
)
builder.build {
publishers {
archiveJunit('**/build/test-results/**/*.xml')
}
}
7 changes: 2 additions & 5 deletions .test-infra/jenkins/job_PreCommit_SQL.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ PrecommitJobBuilder builder = new PrecommitJobBuilder(
nameBase: 'SQL',
gradleTask: ':sqlPreCommit',
gradleSwitches: [
'-PdisableSpotlessCheck=true'
'-PdisableSpotlessCheck=true',
'-PdisableCheckStyle=true'
], // spotless checked in job_PreCommit_Spotless
triggerPathPatterns: [
'^sdks/java/extensions/sql.*$',
Expand All @@ -35,10 +36,6 @@ builder.build {
recordIssues {
tools {
errorProne()
java()
checkStyle {
pattern('**/build/reports/checkstyle/*.xml')
}
spotBugs {
pattern('**/build/reports/spotbugs/*.xml')
}
Expand Down
4 changes: 1 addition & 3 deletions .test-infra/jenkins/job_PreCommit_SQL_Java11.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ PrecommitJobBuilder builder = new PrecommitJobBuilder(
gradleTask: ':sqlPreCommit',
gradleSwitches: [
'-PdisableSpotlessCheck=true',
'-PdisableCheckStyle=true',
'-PcompileAndRunTestsWithJava11',
'-PskipCheckerFramework',
// Gradle itself is running under JDK8 so plugin configures wrong for JDK11
Expand All @@ -41,9 +42,6 @@ builder.build {
tools {
errorProne()
java()
checkStyle {
pattern('**/build/reports/checkstyle/*.xml')
}
spotBugs {
pattern('**/build/reports/spotbugs/*.xml')
}
Expand Down
Loading