Skip to content

HBASE-25864 Use shaded javax.ws.rs package classes - #3243

Closed
ndimiduk wants to merge 2 commits into
apache:masterfrom
ndimiduk:25864-shaded-javax.ws.rs
Closed

HBASE-25864 Use shaded javax.ws.rs package classes#3243
ndimiduk wants to merge 2 commits into
apache:masterfrom
ndimiduk:25864-shaded-javax.ws.rs

Conversation

@ndimiduk

Copy link
Copy Markdown
Member

Adapt to the changes provided by apache/hbase-thirdparty#51

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@busbey

Copy link
Copy Markdown
Contributor

to save other folks a click, the failures in the CI bot are due to the SNAPSHOT dependency on hbase-thirdparty needed to test this out locally.

Comment threadhbase-rest/pom.xml
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-protocol-shaded</artifactId>
<type>jar</type>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was just redundant, right?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this was redundant.

From Maven Coordinates,

When no packaging is declared, Maven assumes the packaging is the default: jar.

*/
package org.apache.hadoop.hbase.rest.model;

import com.fasterxml.jackson.annotation.JsonInclude;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be org.apache.hbase.thirdparty.com.fasterxml.jackson...

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, because I don't relocate Jackson, just the jackson-jaxrs-json-provider and things related specifically to jaxrs. The other PR uses an includes list, not excludes, and only relocates the package prefix com.fasterxml.jackson.jaxrs. Transitive dependencies of the two artifacts it relocates are preserved.


import static org.junit.Assert.assertEquals;

import com.fasterxml.jackson.databind.ObjectMapper;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We aren't shading jackson-databind? Shouldn't we, if we are shading other jackson packages? jackson.databind has been a source of several CVEs so is definitely something we want to control and keep an eye on.

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See above -- it seems we do not currently shade jackson-databind and the patch as posted does not do so either.

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

@apurtell how would you like this change to proceed? Would you prefer that we also shade all of jackson within the hbase-shaded-jackson-jaxrs-json-provider module? For your reference,

mvn dependency:tree of the new module:

[INFO] +- org.apache.hbase.thirdparty:hbase-shaded-jackson-jaxrs-json-provider:jar:3.5.1-SNAPSHOT:compile
[INFO] | +- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.10.1:compile
[INFO] | +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.2:compile
[INFO] | \- jakarta.activation:jakarta.activation-api:jar:1.2.1:compile

Dependency list from the dependency-reduced-pom.xml

 <dependencies>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.10.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.10.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-jaxb-annotations</artifactId>
<version>2.10.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.10.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>2.3.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>jakarta.activation</groupId>
<artifactId>jakarta.activation-api</artifactId>
<version>1.2.1</version>
<scope>compile</scope>
</dependency>
</dependencies>

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

We might also introduce a new shaded jar that is jackson-core, jackson-databind, and jackson-jaxb-annotations. We would then make use of those symbols from the shaded-jackson-jaxrs-json-provider jar, as well as any mentions within hbase-core.

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

I don't think there's a need to shade jackson here because it is only used by hbase-rest, which is not a module that should land in a downstreamer's classpath. Further, we're making use of jackson via transitive dependency on jackson-jaxrs-json-provider, a dependency which we do control (as opposed to getting from Hadoop). For these reasons, I see no need to shade jackson here.

I would be in support of a plan to deprecate jackson-jaxrs-json-provider and implement our own provided based on our chosen json serialization library, Gson.

@ndimiduk
ndimiduk requested a review from apurtellMay 17, 2021 16:53
@ndimiduk
ndimiduk marked this pull request as ready for review May 18, 2021 23:36
@ndimiduk
ndimidukforce-pushed the 25864-shaded-javax.ws.rs branch from f3bea51 to f9767f5CompareAugust 25, 2021 22:32
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 59sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 23sMaven dependency ordering for branch
+1 💚mvninstall5m 1smaster passed
+1 💚compile3m 19smaster passed
+1 💚shadedjars9m 8sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc4m 0smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for patch
-1 ❌mvninstall0m 14sroot in the patch failed.
-1 ❌compile0m 12sroot in the patch failed.
-0 ⚠️javac0m 12sroot in the patch failed.
-1 ❌shadedjars0m 15spatch has 11 errors when building our shaded downstream artifacts.
-0 ⚠️javadoc0m 13sroot in the patch failed.
-0 ⚠️javadoc0m 11shbase-http in the patch failed.
-0 ⚠️javadoc0m 9shbase-it in the patch failed.
-0 ⚠️javadoc0m 10shbase-rest in the patch failed.
_ Other Tests _
-1 ❌unit0m 15sroot in the patch failed.
26m 20s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#3243
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 4b232a854353 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 735bcf8
Default JavaAdoptOpenJDK-11.0.10+9
mvninstallhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk11-hadoop3-check/output/patch-mvninstall-root.txt
compilehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk11-hadoop3-check/output/patch-compile-root.txt
javachttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk11-hadoop3-check/output/patch-compile-root.txt
shadedjarshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk11-hadoop3-check/output/patch-shadedjars.txt
javadochttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-root.txt
javadochttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-http.txt
javadochttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-it.txt
javadochttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-rest.txt
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/testReport/
Max. process+thread count126 (vs. ulimit of 30000)
modulesC: . hbase-http hbase-it hbase-rest U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec2m 11sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 28sMaven dependency ordering for branch
+1 💚mvninstall5m 26smaster passed
+1 💚compile3m 16smaster passed
+1 💚shadedjars10m 1sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc3m 48smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 18sMaven dependency ordering for patch
-1 ❌mvninstall0m 18sroot in the patch failed.
-1 ❌compile0m 13sroot in the patch failed.
-0 ⚠️javac0m 13sroot in the patch failed.
-1 ❌shadedjars0m 22spatch has 11 errors when building our shaded downstream artifacts.
-0 ⚠️javadoc0m 14sroot in the patch failed.
-0 ⚠️javadoc0m 12shbase-http in the patch failed.
-0 ⚠️javadoc0m 10shbase-it in the patch failed.
-0 ⚠️javadoc0m 10shbase-rest in the patch failed.
_ Other Tests _
-1 ❌unit0m 15sroot in the patch failed.
29m 16s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#3243
Optional Testsjavac javadoc unit shadedjars compile
unameLinux ba6a358db633 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 735bcf8
Default JavaAdoptOpenJDK-1.8.0_282-b08
mvninstallhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk8-hadoop3-check/output/patch-mvninstall-root.txt
compilehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk8-hadoop3-check/output/patch-compile-root.txt
javachttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk8-hadoop3-check/output/patch-compile-root.txt
shadedjarshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk8-hadoop3-check/output/patch-shadedjars.txt
javadochttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk8-hadoop3-check/output/patch-javadoc-root.txt
javadochttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk8-hadoop3-check/output/patch-javadoc-hbase-http.txt
javadochttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk8-hadoop3-check/output/patch-javadoc-hbase-it.txt
javadochttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk8-hadoop3-check/output/patch-javadoc-hbase-rest.txt
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/testReport/
Max. process+thread count116 (vs. ulimit of 30000)
modulesC: . hbase-http hbase-it hbase-rest U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 27sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 26sMaven dependency ordering for branch
+1 💚mvninstall3m 55smaster passed
+1 💚compile8m 24smaster passed
+1 💚checkstyle2m 4smaster passed
+1 💚spotbugs11m 29smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 18sMaven dependency ordering for patch
-1 ❌mvninstall0m 14sroot in the patch failed.
-1 ❌compile0m 17sroot in the patch failed.
-0 ⚠️javac0m 17sroot in the patch failed.
-0 ⚠️checkstyle0m 10sThe patch fails to run checkstyle in root
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 6sThe patch has no ill-formed XML file.
-1 ❌hadoopcheck0m 11sThe patch causes 10 errors with Hadoop v3.1.2.
-1 ❌hadoopcheck0m 23sThe patch causes 10 errors with Hadoop v3.2.1.
-1 ❌hadoopcheck0m 34sThe patch causes 10 errors with Hadoop v3.3.0.
-1 ❌spotbugs0m 19sroot in the patch failed.
-1 ❌spotbugs0m 11shbase-http in the patch failed.
-1 ❌spotbugs0m 8shbase-it in the patch failed.
-1 ❌spotbugs0m 11shbase-rest in the patch failed.
_ Other Tests _
+1 💚asflicense0m 41sThe patch does not generate ASF License warnings.
32m 27s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#3243
Optional Testsdupname asflicense javac hadoopcheck xml compile spotbugs hbaseanti checkstyle
unameLinux 9135bb94b76b 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 735bcf8
Default JavaAdoptOpenJDK-1.8.0_282-b08
mvninstallhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compilehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-general-check/output/patch-compile-root.txt
javachttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-general-check/output/patch-compile-root.txt
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-general-check/output/buildtool-patch-checkstyle-root.txt
hadoopcheckhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-general-check/output/patch-javac-3.1.2.txt
hadoopcheckhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-general-check/output/patch-javac-3.2.1.txt
hadoopcheckhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-general-check/output/patch-javac-3.3.0.txt
spotbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-general-check/output/patch-spotbugs-root.txt
spotbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-general-check/output/patch-spotbugs-hbase-http.txt
spotbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-general-check/output/patch-spotbugs-hbase-it.txt
spotbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-general-check/output/patch-spotbugs-hbase-rest.txt
Max. process+thread count141 (vs. ulimit of 30000)
modulesC: . hbase-http hbase-it hbase-rest U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@ndimiduk
ndimidukforce-pushed the 25864-shaded-javax.ws.rs branch from f9767f5 to 83df996CompareNovember 30, 2021 15:20
@ndimiduk

Copy link
Copy Markdown
MemberAuthor

Rebased onto master.

@ndimiduk
ndimidukforce-pushed the 25864-shaded-javax.ws.rs branch from 83df996 to f3889b4CompareNovember 30, 2021 15:39
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 35sDocker mode activated.
-0 ⚠️yetus0m 4sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 29sMaven dependency ordering for branch
+1 💚mvninstall5m 27smaster passed
+1 💚compile3m 41smaster passed
+1 💚shadedjars9m 32sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc4m 38smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 22sMaven dependency ordering for patch
-1 ❌mvninstall0m 18sroot in the patch failed.
-1 ❌compile0m 16sroot in the patch failed.
-0 ⚠️javac0m 16sroot in the patch failed.
-1 ❌shadedjars0m 18spatch has 11 errors when building our shaded downstream artifacts.
-0 ⚠️javadoc0m 15sroot in the patch failed.
-0 ⚠️javadoc0m 13shbase-http in the patch failed.
-0 ⚠️javadoc0m 12shbase-it in the patch failed.
-0 ⚠️javadoc0m 12shbase-rest in the patch failed.
_ Other Tests _
-1 ❌unit0m 19sroot in the patch failed.
28m 38s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#3243
Optional Testsjavac javadoc unit shadedjars compile
unameLinux c1eca9cf9ba0 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / f108997
Default JavaAdoptOpenJDK-11.0.10+9
mvninstallhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk11-hadoop3-check/output/patch-mvninstall-root.txt
compilehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk11-hadoop3-check/output/patch-compile-root.txt
javachttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk11-hadoop3-check/output/patch-compile-root.txt
shadedjarshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk11-hadoop3-check/output/patch-shadedjars.txt
javadochttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-root.txt
javadochttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-http.txt
javadochttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-it.txt
javadochttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-rest.txt
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/testReport/
Max. process+thread count129 (vs. ulimit of 30000)
modulesC: . hbase-http hbase-it hbase-rest U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 57sDocker mode activated.
-0 ⚠️yetus0m 4sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 30sMaven dependency ordering for branch
+1 💚mvninstall5m 46smaster passed
+1 💚compile3m 28smaster passed
+1 💚shadedjars10m 54sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc4m 28smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 20sMaven dependency ordering for patch
-1 ❌mvninstall0m 20sroot in the patch failed.
-1 ❌compile0m 17sroot in the patch failed.
-0 ⚠️javac0m 17sroot in the patch failed.
-1 ❌shadedjars0m 19spatch has 11 errors when building our shaded downstream artifacts.
-0 ⚠️javadoc0m 16sroot in the patch failed.
-0 ⚠️javadoc0m 13shbase-http in the patch failed.
-0 ⚠️javadoc0m 13shbase-it in the patch failed.
-0 ⚠️javadoc0m 13shbase-rest in the patch failed.
_ Other Tests _
-1 ❌unit0m 18sroot in the patch failed.
31m 31s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#3243
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 0b37938b2b69 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / f108997
Default JavaAdoptOpenJDK-1.8.0_282-b08
mvninstallhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk8-hadoop3-check/output/patch-mvninstall-root.txt
compilehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk8-hadoop3-check/output/patch-compile-root.txt
javachttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk8-hadoop3-check/output/patch-compile-root.txt
shadedjarshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk8-hadoop3-check/output/patch-shadedjars.txt
javadochttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk8-hadoop3-check/output/patch-javadoc-root.txt
javadochttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk8-hadoop3-check/output/patch-javadoc-hbase-http.txt
javadochttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk8-hadoop3-check/output/patch-javadoc-hbase-it.txt
javadochttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk8-hadoop3-check/output/patch-javadoc-hbase-rest.txt
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/testReport/
Max. process+thread count117 (vs. ulimit of 30000)
modulesC: . hbase-http hbase-it hbase-rest U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 36sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 28sMaven dependency ordering for branch
+1 💚mvninstall5m 18smaster passed
+1 💚compile11m 54smaster passed
+1 💚checkstyle2m 56smaster passed
+1 💚spotbugs14m 22smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for patch
-1 ❌mvninstall0m 14sroot in the patch failed.
-1 ❌compile0m 17sroot in the patch failed.
-0 ⚠️javac0m 17sroot in the patch failed.
-0 ⚠️checkstyle0m 9sThe patch fails to run checkstyle in root
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 5sThe patch has no ill-formed XML file.
-1 ❌hadoopcheck0m 12sThe patch causes 10 errors with Hadoop v3.1.2.
-1 ❌hadoopcheck0m 23sThe patch causes 10 errors with Hadoop v3.2.2.
-1 ❌hadoopcheck0m 34sThe patch causes 10 errors with Hadoop v3.3.1.
-1 ❌spotbugs0m 17sroot in the patch failed.
-1 ❌spotbugs0m 10shbase-http in the patch failed.
-1 ❌spotbugs0m 8shbase-it in the patch failed.
-1 ❌spotbugs0m 10shbase-rest in the patch failed.
_ Other Tests _
+1 💚asflicense0m 37sThe patch does not generate ASF License warnings.
42m 0s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#3243
Optional Testsdupname asflicense javac hadoopcheck xml compile spotbugs hbaseanti checkstyle
unameLinux a119833c7cab 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / f108997
Default JavaAdoptOpenJDK-1.8.0_282-b08
mvninstallhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compilehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-general-check/output/patch-compile-root.txt
javachttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-general-check/output/patch-compile-root.txt
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-general-check/output/buildtool-patch-checkstyle-root.txt
hadoopcheckhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-general-check/output/patch-javac-3.1.2.txt
hadoopcheckhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-general-check/output/patch-javac-3.2.2.txt
hadoopcheckhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-general-check/output/patch-javac-3.3.1.txt
spotbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-general-check/output/patch-spotbugs-root.txt
spotbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-general-check/output/patch-spotbugs-hbase-http.txt
spotbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-general-check/output/patch-spotbugs-hbase-it.txt
spotbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-general-check/output/patch-spotbugs-hbase-rest.txt
Max. process+thread count126 (vs. ulimit of 30000)
modulesC: . hbase-http hbase-it hbase-rest U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

@Apache9 Looks like what you have on #3910 supersedes this PR.

Adapt to the changes provided by apache/hbase-thirdparty#51
Signed-off-by: Andrew Purtell <apurtell@apache.org>
@ndimiduk
ndimidukforce-pushed the 25864-shaded-javax.ws.rs branch from f3889b4 to 2fcfd80CompareDecember 9, 2021 19:23
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 27sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 26sMaven dependency ordering for branch
+1 💚mvninstall4m 8smaster passed
+1 💚compile9m 0smaster passed
+1 💚checkstyle2m 1smaster passed
+1 💚spotbugs11m 57smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 35sMaven dependency ordering for patch
+1 💚mvninstall3m 52sthe patch passed
+1 💚compile8m 52sthe patch passed
+1 💚javac8m 52sthe patch passed
+1 💚checkstyle2m 2sroot: The patch generated 0 new + 202 unchanged - 16 fixed = 202 total (was 218)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 6sThe patch has no ill-formed XML file.
+1 💚hadoopcheck21m 31sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
-1 ❌spotbugs10m 24sroot generated 4 new + 0 unchanged - 0 fixed = 4 total (was 0)
_ Other Tests _
+1 💚asflicense0m 56sThe patch does not generate ASF License warnings.
87m 54s
ReasonTests
FindBugsmodule:root
Possible null pointer dereference in org.apache.hadoop.hbase.coprocessor.MetaTableMetrics$ExampleRegionObserverMeta.opMeterName(Object) due to return value of called method Dereferenced at MetaTableMetrics.java:org.apache.hadoop.hbase.coprocessor.MetaTableMetrics$ExampleRegionObserverMeta.opMeterName(Object) due to return value of called method Dereferenced at MetaTableMetrics.java:[line 230]
Possible null pointer dereference in org.apache.hadoop.hbase.coprocessor.MetaTableMetrics$ExampleRegionObserverMeta.opWithClientMeterName(Object) due to return value of called method Dereferenced at MetaTableMetrics.java:org.apache.hadoop.hbase.coprocessor.MetaTableMetrics$ExampleRegionObserverMeta.opWithClientMeterName(Object) due to return value of called method Dereferenced at MetaTableMetrics.java:[line 210]
Possible null pointer dereference in org.apache.hadoop.hbase.io.hfile.LruCachedBlockQueue.add(LruCachedBlock) due to return value of called method Method invoked at LruCachedBlockQueue.java:org.apache.hadoop.hbase.io.hfile.LruCachedBlockQueue.add(LruCachedBlock) due to return value of called method Method invoked at LruCachedBlockQueue.java:[line 73]
Possible null pointer dereference in org.apache.hadoop.hbase.io.hfile.bucket.CachedEntryQueue.add(Map$Entry) due to return value of called method Dereferenced at CachedEntryQueue.java:org.apache.hadoop.hbase.io.hfile.bucket.CachedEntryQueue.add(Map$Entry) due to return value of called method Dereferenced at CachedEntryQueue.java:[line 79]
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/5/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#3243
Optional Testsdupname asflicense javac hadoopcheck xml compile spotbugs hbaseanti checkstyle
unameLinux ae7da42e3ad4 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / b5cf3cd
Default JavaAdoptOpenJDK-1.8.0_282-b08
spotbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/5/artifact/yetus-general-check/output/new-spotbugs-root.html
Max. process+thread count141 (vs. ulimit of 30000)
modulesC: hbase-http hbase-it hbase-rest . U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/5/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@apurtell
apurtell self-requested a review December 9, 2021 22:08
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 19sDocker mode activated.
-0 ⚠️yetus0m 5sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 31sMaven dependency ordering for branch
+1 💚mvninstall6m 11smaster passed
+1 💚compile4m 1smaster passed
+1 💚shadedjars10m 6sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc4m 44smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 37sMaven dependency ordering for patch
+1 💚mvninstall5m 42sthe patch passed
+1 💚compile3m 54sthe patch passed
+1 💚javac3m 54sthe patch passed
+1 💚shadedjars10m 9spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc4m 38sthe patch passed
_ Other Tests _
-1 ❌unit241m 12sroot in the patch failed.
295m 43s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/5/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#3243
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 23247d66e084 4.15.0-162-generic #170-Ubuntu SMP Mon Oct 18 11:38:05 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / b5cf3cd
Default JavaAdoptOpenJDK-11.0.10+9
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/5/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/5/testReport/
Max. process+thread count3566 (vs. ulimit of 30000)
modulesC: hbase-http hbase-it hbase-rest . U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/5/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec2m 50sDocker mode activated.
-0 ⚠️yetus0m 4sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 23sMaven dependency ordering for branch
+1 💚mvninstall4m 34smaster passed
+1 💚compile3m 4smaster passed
+1 💚shadedjars9m 22sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc3m 33smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 38sMaven dependency ordering for patch
+1 💚mvninstall4m 34sthe patch passed
+1 💚compile3m 2sthe patch passed
+1 💚javac3m 2sthe patch passed
+1 💚shadedjars9m 11spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc3m 24sthe patch passed
_ Other Tests _
-1 ❌unit399m 31sroot in the patch failed.
446m 46s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/5/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#3243
Optional Testsjavac javadoc unit shadedjars compile
unameLinux b8c0ed3a5e7e 4.15.0-163-generic #171-Ubuntu SMP Fri Nov 5 11:55:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / b5cf3cd
Default JavaAdoptOpenJDK-1.8.0_282-b08
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/5/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/5/testReport/
Max. process+thread count3331 (vs. ulimit of 30000)
modulesC: hbase-http hbase-it hbase-rest . U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/5/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

This is superseded by HBASE-26523.

@ndimiduk
ndimiduk deleted the 25864-shaded-javax.ws.rs branch January 11, 2022 01:27
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@ndimiduk@Apache-HBase@busbey@apurtell