ODO-2263|ODP-1302 [SPARK-43225][BUILD][SQL] Remove jackson-core-asl and jackson-mapper-asl from pre-built distribution #39
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Remove jackson-core-asl and jackson-mapper-asl from pre-built distribution
jackson-core-aslfrom maven dependency.jackson-mapper-aslfrom compile to test.Hive.get(conf)withHive.getWithoutRegisterFns(conf).To fix CVE issue: https://github.com/apache/spark/security/dependabot/50.
No.
manual test.
Closes apache#40893 from wangyum/SPARK-43225.
Lead-authored-by: Yuming Wang [email protected]
Co-authored-by: Yuming Wang [email protected]
Signed-off-by: Sean Owen [email protected]
(cherry picked from commit 9c237d7)
[SPARK-43868][SQL][TESTS] Remove
originalUDFsfromTestHiveto ensureObjectHashAggregateExecBenchmarkcan run successfully on Github ActionThis pr remove
originalUDFsfromTestHiveto ensureObjectHashAggregateExecBenchmarkcan run successfully on Github Action.After SPARK-43225,
org.codehaus.jackson:jackson-mapper-aslbecomes a test scope dependency, so when using GA to run benchmark, it is not in the classpath because GA useshttps://github.com/apache/spark/blob/d61c77cac17029ee27319e6b766b48d314a4dd31/.github/workflows/benchmark.yml#L179-L183
iunstead of the sbt
Test/runMain.ObjectHashAggregateExecBenchmarkusedTestHive, andTestHivewill always callorg.apache.hadoop.hive.ql.exec.FunctionRegistry#getFunctionNamesto initoriginalUDFsbefore this pr, so when we runObjectHashAggregateExecBenchmarkon GitHub Actions, there will be the following exceptions:(cherry picked from commit 1c10e28caa54f32aa44a5406046894b8fcb335a4)
Conflicts:
pom.xml
What changes were proposed in this pull request?
Why are the changes needed?
Does this PR introduce any user-facing change?
How was this patch tested?