Skip to content

HBASE-28943 Remove all jackson 1.x dependencies for hadoop-3 profile, since all jackson 1.x versions have vulnerabilities - #6414

Merged
NihalJain merged 1 commit into
apache:branch-2.5from
NihalJain:HBASE-28943_branch-2.5
Nov 6, 2024
Merged

HBASE-28943 Remove all jackson 1.x dependencies for hadoop-3 profile, since all jackson 1.x versions have vulnerabilities#6414
NihalJain merged 1 commit into
apache:branch-2.5from
NihalJain:HBASE-28943_branch-2.5

Conversation

@NihalJain

Copy link
Copy Markdown
Contributor

… since all jackson 1.x versions have vulnerabilities (apache#6405)
- Building hbase with hadoop-3 profile on branch-2, still requires jackson 1.x jars, which has vulnerabilities. Ideally these should not be needed as with HADOOP-13332 hadoop has already "Remove jackson 1.9.13 and switch all jackson code to 2.x code line" for branch-3.
- Also in HBASE-27148, where we worked on "Move minimum hadoop 3 support version to 3.2.3", where we had done a similar cleanup for branch-3; but somehow we missed to port the relevant changes to the branch-2 backport of same jira. This task is to take care of this so that we do not need jackson 1.x to build/run hbase with hadoop-3 profile on branch-2.x.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
(cherry picked from commit 41621f0)
@NihalJainNihalJain added the backport This PR is a back port of some issue or issues already committed to master label Oct 30, 2024
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 44sDocker mode activated.
-0 ⚠️yetus0m 5sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck
_ Prechecks _
_ branch-2.5 Compile Tests _
+0 🆗mvndep0m 10sMaven dependency ordering for branch
+1 💚mvninstall2m 52sbranch-2.5 passed
+1 💚compile0m 58sbranch-2.5 passed
+1 💚javadoc0m 46sbranch-2.5 passed
+1 💚shadedjars4m 59sbranch has no errors when building our shaded downstream artifacts.
_ Patch Compile Tests _
+0 🆗mvndep0m 18sMaven dependency ordering for patch
+1 💚mvninstall2m 44sthe patch passed
+1 💚compile0m 58sthe patch passed
+1 💚javac0m 58sthe patch passed
+1 💚javadoc0m 46sthe patch passed
+1 💚shadedjars5m 1spatch has no errors when building our shaded downstream artifacts.
_ Other Tests _
+1 💚unit0m 13shbase-shaded-client-byo-hadoop in the patch passed.
+1 💚unit0m 15shbase-shaded-mapreduce in the patch passed.
+1 💚unit0m 18shbase-shaded-testing-util in the patch passed.
-1 ❌unit0m 25s/patch-unit-hbase-shaded_hbase-shaded-testing-util-tester.txthbase-shaded-testing-util-tester in the patch failed.
23m 3s
SubsystemReport/Notes
DockerClientAPI=1.47 ServerAPI=1.47 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6414/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#6414
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 582f1a77bd98 5.4.0-195-generic #215-Ubuntu SMP Fri Aug 2 18:28:05 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2.5 / ec72bad
Default JavaEclipse Adoptium-11.0.23+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6414/1/testReport/
Max. process+thread count153 (vs. ulimit of 30000)
modulesC: hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester U: hbase-shaded
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6414/1/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 47sDocker mode activated.
-0 ⚠️yetus0m 6sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck
_ Prechecks _
_ branch-2.5 Compile Tests _
+0 🆗mvndep0m 9sMaven dependency ordering for branch
+1 💚mvninstall2m 52sbranch-2.5 passed
+1 💚compile0m 58sbranch-2.5 passed
+1 💚javadoc0m 45sbranch-2.5 passed
+1 💚shadedjars5m 32sbranch has no errors when building our shaded downstream artifacts.
_ Patch Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for patch
+1 💚mvninstall2m 44sthe patch passed
+1 💚compile0m 56sthe patch passed
+1 💚javac0m 56sthe patch passed
+1 💚javadoc0m 44sthe patch passed
+1 💚shadedjars4m 54spatch has no errors when building our shaded downstream artifacts.
_ Other Tests _
+1 💚unit0m 13shbase-shaded-client-byo-hadoop in the patch passed.
+1 💚unit0m 16shbase-shaded-mapreduce in the patch passed.
+1 💚unit0m 16shbase-shaded-testing-util in the patch passed.
-1 ❌unit0m 24s/patch-unit-hbase-shaded_hbase-shaded-testing-util-tester.txthbase-shaded-testing-util-tester in the patch failed.
23m 18s
SubsystemReport/Notes
DockerClientAPI=1.47 ServerAPI=1.47 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6414/1/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile
GITHUB PR#6414
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 0adc8097029d 5.4.0-195-generic #215-Ubuntu SMP Fri Aug 2 18:28:05 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2.5 / ec72bad
Default JavaEclipse Adoptium-17.0.11+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6414/1/testReport/
Max. process+thread count167 (vs. ulimit of 30000)
modulesC: hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester U: hbase-shaded
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6414/1/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec1m 21sDocker mode activated.
-0 ⚠️yetus0m 5sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck
_ Prechecks _
_ branch-2.5 Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for branch
+1 💚mvninstall2m 52sbranch-2.5 passed
+1 💚compile1m 4sbranch-2.5 passed
+1 💚javadoc0m 45sbranch-2.5 passed
+1 💚shadedjars5m 24sbranch has no errors when building our shaded downstream artifacts.
_ Patch Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for patch
+1 💚mvninstall2m 31sthe patch passed
+1 💚compile0m 55sthe patch passed
+1 💚javac0m 55sthe patch passed
+1 💚javadoc0m 47sthe patch passed
+1 💚shadedjars4m 58spatch has no errors when building our shaded downstream artifacts.
_ Other Tests _
+1 💚unit0m 12shbase-shaded-client-byo-hadoop in the patch passed.
+1 💚unit0m 16shbase-shaded-mapreduce in the patch passed.
+1 💚unit0m 19shbase-shaded-testing-util in the patch passed.
-1 ❌unit0m 30s/patch-unit-hbase-shaded_hbase-shaded-testing-util-tester.txthbase-shaded-testing-util-tester in the patch failed.
24m 2s
SubsystemReport/Notes
DockerClientAPI=1.47 ServerAPI=1.47 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6414/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile
GITHUB PR#6414
Optional Testsjavac javadoc unit shadedjars compile
unameLinux cd61a7008568 5.4.0-195-generic #215-Ubuntu SMP Fri Aug 2 18:28:05 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2.5 / ec72bad
Default JavaTemurin-1.8.0_412-b08
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6414/1/testReport/
Max. process+thread count135 (vs. ulimit of 30000)
modulesC: hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester U: hbase-shaded
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6414/1/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@NihalJain

Copy link
Copy Markdown
ContributorAuthor

Verified that with this PR dependency:tree does not have jackson 1.x for hadoop-3 profile:

hbase % grep 1.9.13 tree_with_HBASE-28943_branch-2.5.txt
hbase % 

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 43sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗codespell0m 0scodespell was not available.
+0 🆗detsecrets0m 0sdetect-secrets was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ branch-2.5 Compile Tests _
+0 🆗mvndep0m 10sMaven dependency ordering for branch
+1 💚mvninstall3m 2sbranch-2.5 passed
+1 💚compile0m 52sbranch-2.5 passed
+1 💚spotless0m 45sbranch has no errors when running spotless:check.
_ Patch Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for patch
+1 💚mvninstall2m 45sthe patch passed
+1 💚compile0m 50sthe patch passed
+1 💚javac0m 50sthe patch passed
+1 💚blanks0m 0sThe patch has no blanks issues.
+1 💚xmllint0m 0sNo new issues.
+1 💚hadoopcheck21m 10sPatch does not cause any errors with Hadoop 2.10.2 or 3.2.4 3.3.6 3.4.0.
+1 💚spotless0m 44spatch has no errors when running spotless:check.
_ Other Tests _
+1 💚asflicense0m 34sThe patch does not generate ASF License warnings.
33m 42s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6414/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#6414
Optional Testsdupname asflicense javac codespell detsecrets xmllint hadoopcheck spotless compile
unameLinux 7429c1f3f50e 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2.5 / ec72bad
Default JavaEclipse Adoptium-11.0.23+9
Max. process+thread count79 (vs. ulimit of 30000)
modulesC: hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester U: hbase-shaded
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6414/1/console
versionsgit=2.34.1 maven=3.9.8 xmllint=20913
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@NihalJain

Copy link
Copy Markdown
ContributorAuthor

hbase-shaded-testing-util-tester in the patch failed.

Not related to this change but is an existing issue. Need to raise bug for this. Ran with / without change the module fails to run tests

@NihalJain

Copy link
Copy Markdown
ContributorAuthor

hbase-shaded-testing-util-tester in the patch failed.

Not related to this change but is an existing issue. Need to raise bug for this. Ran with / without change the module fails to run tests

Created https://issues.apache.org/jira/browse/HBASE-28944

@NihalJain

Copy link
Copy Markdown
ContributorAuthor

Will merge this PR today as failures are not related and are handled with HBASE-28944!

@NihalJain
NihalJain merged commit 25bce14 into apache:branch-2.5Nov 6, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backportThis PR is a back port of some issue or issues already committed to master

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@NihalJain@Apache-HBase