-
Notifications
You must be signed in to change notification settings - Fork 2.5k
[HUDI-1869] Upgrading Spark3 To 3.1 #3844
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
Conversation
|
@hudi-bot run azure |
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.
could we stick to log4j?
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.
The slf4j-api dependency is used by Spark3.1 when run hudi-spark UTs. And it's in test scope.
vinothchandar
left a comment
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.
LGTM overall. We can land once you chime in on the slf4j changes and rebase and push
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.
thinking out loud. this uses reflection, but only seems to operate with a plan, so should be fine, performance overhead wise
ea2335e to
d0bf822
Compare
|
@hudi-bot run azure |
1 similar comment
|
@hudi-bot run azure |
|
@vinothchandar @xushiyan I have removed slf4j dependency and rebase and push. |
|
@hudi-bot run azure |
xushiyan
left a comment
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.
@YannByron thanks. left some suggestions.
hudi-client/hudi-spark-client/src/main/scala/org/apache/hudi/AvroConversionHelper.scala
Outdated
Show resolved
Hide resolved
hudi-common/src/main/java/org/apache/hudi/exception/HoodieInCompatibleSchemaException.java
Outdated
Show resolved
Hide resolved
hudi-common/src/main/java/org/apache/hudi/exception/HoodieInCompatibleSchemaException.java
Outdated
Show resolved
Hide resolved
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.
are we able to use assertThrows() here from junit 5? or leave it the scala way also fine.
...-spark-datasource/hudi-spark3/src/main/java/org/apache/hudi/spark3/internal/ReflectUtil.java
Outdated
Show resolved
Hide resolved
5ab7857 to
dcbda0c
Compare
|
@xushiyan Can you please review this again ~ |
…UT for spark3.internal.ReflectUtil
fd00cbe to
2d71706
Compare
|
@hudi-bot run azure |
Upgrading spark3 version from the spark3.0.x to spark 3.1.x
Support both spark 3.0.x and spark 3.1.x.
Build package for spark 3.0.x use:
For other spark3 version :
Brief change log
(for example:)
Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Committer checklist
Has a corresponding JIRA in PR title & commit
Commit message is descriptive of the change
CI is green
Necessary doc changes done or have another open PR
For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.