-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[HUDI-7513] Add jackson-module-scala to spark bundle #10877
Conversation
@@ -482,6 +482,7 @@ | |||
<include>org.apache.htrace:htrace-core4</include> | |||
<!-- afterburner module for jackson performance --> | |||
<include>com.fasterxml.jackson.module:jackson-module-afterburner</include> | |||
<include>com.fasterxml.jackson.module:jackson-module-scala_${scala.binary.version}</include> | |||
<!-- native HFile reader uses protobuf --> |
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.
cc @nsivabalan do we need to check other jackson related jars?
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
@nsivabalan Can you check this PR? |
yes, we might need to fix all bundles. |
I searched the whole project, only jackson-module-afterburner and jackson-module-scala have the package path "com.fasterxml.jackson.module". And the fix is in the main pom, this change also takes effect for other modules. |
Would merge it first, we can fire following-up fix if it is necessary for specific bundles. |
Change Logs
#10097 we relocated "com.fasterxml.jackson.module",
hudi/pom.xml
Lines 582 to 586 in 2dcdd31
this changes the package path of jackson-module-scala_${scala.binary.version}.
When we do spark stream read, we will get
ClassNotFoundException: org.apache.hudi.com.fasterxml.jackson.module.scala.DefaultScalaModule$
Impact
none
Risk level (write none, low medium or high below)
none
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none".
ticket number here and follow the instruction to make
changes to the website.
Contributor's checklist