-
Notifications
You must be signed in to change notification settings - Fork 2.5k
[HUDI-2955] Support Hadoop 3.x Hive 3.x and Spark 3.2.x default (rebase) #5786
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
Changes from all commits
39e9f52
b652156
1b556bc
c052db1
3514047
fb7cbcf
d4d07df
df04af6
40433b3
219cbf8
4a75306
f2d2633
b25bab1
e1580cc
7c6fdbb
b347f32
abe18f1
e5f727a
e84a9aa
e935a71
f94d9c8
1571fd6
38289e1
c115750
87aa828
a85469b
bcf43bb
f6c9e80
d560584
ae3d56e
c11c657
020b0fd
d072747
b5997a9
f834e8e
87012f8
a060708
5fafd41
cc1a49f
5c1f65b
56ccf60
e51734f
4f006eb
be77577
789a2a7
4a23e16
c611ee6
544849a
0be8aad
5cc1efb
1790651
2197c79
13f038b
be748a9
4c974b8
8415462
f34686d
579f37d
d28f78d
2c3f708
aff2ec1
e07d691
1d9efc2
beca740
715b1a8
140d50e
b231d07
01469d5
db74c4b
8624b0d
a16f013
3fe7ec7
7698cf0
655fb1b
8f9f51f
51d7dd3
9fab64d
8419a47
2235c2c
5e6b269
8496dfe
9e4344c
d32bee8
47e1cac
cbbdb89
611eead
ae6d71a
a3ab3a5
7968b45
e773ac7
571eb4a
a0bbd32
90c7f61
520f08b
66fc191
759bf0c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -60,6 +60,7 @@ parameters: | |
| - '!hudi-examples/hudi-examples-flink' | ||
| - '!hudi-examples/hudi-examples-java' | ||
| - '!hudi-examples/hudi-examples-spark' | ||
| - '!hudi-spark-datasource/hudi-spark3' | ||
| - '!hudi-flink-datasource' | ||
| - '!hudi-flink-datasource/hudi-flink' | ||
| - '!hudi-flink-datasource/hudi-flink1.13.x' | ||
|
|
@@ -72,12 +73,12 @@ parameters: | |
| - '!hudi-utilities' | ||
|
|
||
| variables: | ||
| BUILD_PROFILES: '-Dscala-2.11 -Dspark2 -Dflink1.14' | ||
| BUILD_PROFILES: '-Dscala-2.12 -Dspark3 -Dflink1.14' | ||
| PLUGIN_OPTS: '-Dcheckstyle.skip=true -Drat.skip=true -Djacoco.skip=true' | ||
| MVN_OPTS_INSTALL: '-T 2.5C -DskipTests $(BUILD_PROFILES) $(PLUGIN_OPTS)' | ||
| MVN_OPTS_TEST: '-fae $(BUILD_PROFILES) $(PLUGIN_OPTS)' | ||
| SPARK_VERSION: '2.4.4' | ||
| HADOOP_VERSION: '2.7' | ||
| SPARK_VERSION: '3.2.1' | ||
| HADOOP_VERSION: '3.2' | ||
| SPARK_ARCHIVE: spark-$(SPARK_VERSION)-bin-hadoop$(HADOOP_VERSION) | ||
| JOB1_MODULES: ${{ join(',',parameters.job1Modules) }} | ||
| JOB2_MODULES: ${{ join(',',parameters.job2Modules) }} | ||
|
|
@@ -89,10 +90,12 @@ stages: | |
| jobs: | ||
| - job: UT_FT_1 | ||
| displayName: UT FT common & flink & UT client/spark-client | ||
| timeoutInMinutes: '120' | ||
| timeoutInMinutes: '180' | ||
| steps: | ||
| - task: Maven@3 | ||
| displayName: maven install | ||
| continueOnError: true | ||
| retryCountOnTaskFailure: 2 | ||
| inputs: | ||
| mavenPomFile: 'pom.xml' | ||
| goals: 'clean install' | ||
|
|
@@ -101,6 +104,8 @@ stages: | |
| jdkVersionOption: '1.8' | ||
| - task: Maven@3 | ||
| displayName: UT common flink client/spark-client | ||
| continueOnError: true | ||
| retryCountOnTaskFailure: 2 | ||
| inputs: | ||
| mavenPomFile: 'pom.xml' | ||
| goals: 'test' | ||
|
|
@@ -110,6 +115,8 @@ stages: | |
| mavenOptions: '-Xmx4g' | ||
| - task: Maven@3 | ||
| displayName: FT common flink | ||
| continueOnError: true | ||
| retryCountOnTaskFailure: 2 | ||
| inputs: | ||
| mavenPomFile: 'pom.xml' | ||
| goals: 'test' | ||
|
|
@@ -119,10 +126,12 @@ stages: | |
| mavenOptions: '-Xmx4g' | ||
| - job: UT_FT_2 | ||
| displayName: FT client/spark-client | ||
| timeoutInMinutes: '120' | ||
| timeoutInMinutes: '180' | ||
| steps: | ||
| - task: Maven@3 | ||
| displayName: maven install | ||
| continueOnError: true | ||
| retryCountOnTaskFailure: 2 | ||
| inputs: | ||
| mavenPomFile: 'pom.xml' | ||
| goals: 'clean install' | ||
|
|
@@ -131,6 +140,8 @@ stages: | |
| jdkVersionOption: '1.8' | ||
| - task: Maven@3 | ||
| displayName: FT client/spark-client | ||
| continueOnError: true | ||
| retryCountOnTaskFailure: 2 | ||
| inputs: | ||
| mavenPomFile: 'pom.xml' | ||
| goals: 'test' | ||
|
|
@@ -140,10 +151,12 @@ stages: | |
| mavenOptions: '-Xmx4g' | ||
| - job: UT_FT_3 | ||
| displayName: UT FT clients & cli & utilities & sync | ||
| timeoutInMinutes: '120' | ||
| timeoutInMinutes: '180' | ||
| steps: | ||
| - task: Maven@3 | ||
| displayName: maven install | ||
| continueOnError: true | ||
| retryCountOnTaskFailure: 3 | ||
| inputs: | ||
| mavenPomFile: 'pom.xml' | ||
| goals: 'clean install' | ||
|
|
@@ -152,6 +165,8 @@ stages: | |
| jdkVersionOption: '1.8' | ||
| - task: Maven@3 | ||
| displayName: UT clients & cli & utilities & sync | ||
| continueOnError: true | ||
| retryCountOnTaskFailure: 2 | ||
| inputs: | ||
| mavenPomFile: 'pom.xml' | ||
| goals: 'test' | ||
|
|
@@ -161,6 +176,8 @@ stages: | |
| mavenOptions: '-Xmx4g' | ||
| - task: Maven@3 | ||
| displayName: FT clients & cli & utilities & sync | ||
| continueOnError: true | ||
| retryCountOnTaskFailure: 2 | ||
| inputs: | ||
| mavenPomFile: 'pom.xml' | ||
| goals: 'test' | ||
|
|
@@ -170,10 +187,12 @@ stages: | |
| mavenOptions: '-Xmx4g' | ||
| - job: UT_FT_4 | ||
| displayName: UT FT other modules | ||
| timeoutInMinutes: '120' | ||
| timeoutInMinutes: '180' | ||
| steps: | ||
| - task: Maven@3 | ||
| displayName: maven install | ||
| continueOnError: true | ||
| retryCountOnTaskFailure: 2 | ||
| inputs: | ||
| mavenPomFile: 'pom.xml' | ||
| goals: 'clean install' | ||
|
|
@@ -182,6 +201,8 @@ stages: | |
| jdkVersionOption: '1.8' | ||
| - task: Maven@3 | ||
| displayName: UT other modules | ||
| continueOnError: true | ||
| retryCountOnTaskFailure: 2 | ||
| inputs: | ||
| mavenPomFile: 'pom.xml' | ||
| goals: 'test' | ||
|
|
@@ -191,6 +212,8 @@ stages: | |
| mavenOptions: '-Xmx4g' | ||
| - task: Maven@3 | ||
| displayName: FT other modules | ||
| continueOnError: true | ||
| retryCountOnTaskFailure: 2 | ||
| inputs: | ||
| mavenPomFile: 'pom.xml' | ||
| goals: 'test' | ||
|
|
@@ -200,27 +223,22 @@ stages: | |
| mavenOptions: '-Xmx4g' | ||
| - job: IT | ||
| displayName: IT modules | ||
| timeoutInMinutes: '120' | ||
| timeoutInMinutes: '180' | ||
| steps: | ||
| - task: Maven@3 | ||
| displayName: maven install | ||
| continueOnError: true | ||
| retryCountOnTaskFailure: 2 | ||
| inputs: | ||
| mavenPomFile: 'pom.xml' | ||
| goals: 'clean install' | ||
| options: $(MVN_OPTS_INSTALL) -Pintegration-tests | ||
| publishJUnitResults: false | ||
| jdkVersionOption: '1.8' | ||
| - task: Maven@3 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there still a problem to run the unit tests specified here?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe when i tried readding the unit tests I ran into issues again with mini dfs cluster based on the JIRA https://issues.apache.org/jira/browse/HUDI-4263 |
||
| displayName: UT integ-test | ||
| inputs: | ||
| mavenPomFile: 'pom.xml' | ||
| goals: 'test' | ||
| options: $(MVN_OPTS_TEST) -Pintegration-tests -DskipUTs=false -DskipITs=true -pl hudi-integ-test | ||
| publishJUnitResults: false | ||
| jdkVersionOption: '1.8' | ||
| mavenOptions: '-Xmx4g' | ||
| - task: AzureCLI@2 | ||
| displayName: Prepare for IT | ||
| continueOnError: true | ||
| retryCountOnTaskFailure: 2 | ||
| inputs: | ||
| azureSubscription: apachehudici-service-connection | ||
| scriptType: bash | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you know why it takes longer for the Spark 3 tests? Or this change is not necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change might not fully be necessary, but helps with the case for when i would see the tests slightly run over the limit and then auto terminate.