Skip to content
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

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

Closed
wants to merge 2 commits into from

Conversation

ndimiduk
Copy link
Member

@ndimiduk ndimiduk commented May 7, 2021

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
Contributor

busbey commented May 10, 2021

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.

@@ -160,7 +151,6 @@
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-protocol-shaded</artifactId>
<type>jar</type>
Copy link
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
Member Author

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.

@@ -18,22 +17,19 @@
*/
package org.apache.hadoop.hbase.rest.model;

import com.fasterxml.jackson.annotation.JsonInclude;
Copy link
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
Member Author

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.

@@ -18,22 +18,16 @@
package org.apache.hadoop.hbase.rest;

import static org.junit.Assert.assertEquals;

import com.fasterxml.jackson.databind.ObjectMapper;
Copy link
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
Member Author

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
Member Author

@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
Member Author

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
Member Author

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 apurtell May 17, 2021 16:53
@ndimiduk ndimiduk marked this pull request as ready for review May 18, 2021 23:36
@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 59s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 23s Maven dependency ordering for branch
+1 💚 mvninstall 5m 1s master passed
+1 💚 compile 3m 19s master passed
+1 💚 shadedjars 9m 8s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 4m 0s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 17s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 14s root in the patch failed.
-1 ❌ compile 0m 12s root in the patch failed.
-0 ⚠️ javac 0m 12s root in the patch failed.
-1 ❌ shadedjars 0m 15s patch has 11 errors when building our shaded downstream artifacts.
-0 ⚠️ javadoc 0m 13s root in the patch failed.
-0 ⚠️ javadoc 0m 11s hbase-http in the patch failed.
-0 ⚠️ javadoc 0m 9s hbase-it in the patch failed.
-0 ⚠️ javadoc 0m 10s hbase-rest in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 15s root in the patch failed.
26m 20s
Subsystem Report/Notes
Docker ClientAPI=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 Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / 735bcf8
Default Java AdoptOpenJDK-11.0.10+9
mvninstall https://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
compile https://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
javac https://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
shadedjars https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk11-hadoop3-check/output/patch-shadedjars.txt
javadoc https://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
javadoc https://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
javadoc https://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
javadoc https://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
unit https://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 Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/testReport/
Max. process+thread count 126 (vs. ulimit of 30000)
modules C: . hbase-http hbase-it hbase-rest U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 2m 11s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 28s Maven dependency ordering for branch
+1 💚 mvninstall 5m 26s master passed
+1 💚 compile 3m 16s master passed
+1 💚 shadedjars 10m 1s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 3m 48s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 18s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 18s root in the patch failed.
-1 ❌ compile 0m 13s root in the patch failed.
-0 ⚠️ javac 0m 13s root in the patch failed.
-1 ❌ shadedjars 0m 22s patch has 11 errors when building our shaded downstream artifacts.
-0 ⚠️ javadoc 0m 14s root in the patch failed.
-0 ⚠️ javadoc 0m 12s hbase-http in the patch failed.
-0 ⚠️ javadoc 0m 10s hbase-it in the patch failed.
-0 ⚠️ javadoc 0m 10s hbase-rest in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 15s root in the patch failed.
29m 16s
Subsystem Report/Notes
Docker ClientAPI=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 Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / 735bcf8
Default Java AdoptOpenJDK-1.8.0_282-b08
mvninstall https://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
compile https://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
javac https://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
shadedjars https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-jdk8-hadoop3-check/output/patch-shadedjars.txt
javadoc https://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
javadoc https://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
javadoc https://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
javadoc https://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
unit https://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 Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/testReport/
Max. process+thread count 116 (vs. ulimit of 30000)
modules C: . hbase-http hbase-it hbase-rest U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 27s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗 mvndep 0m 26s Maven dependency ordering for branch
+1 💚 mvninstall 3m 55s master passed
+1 💚 compile 8m 24s master passed
+1 💚 checkstyle 2m 4s master passed
+1 💚 spotbugs 11m 29s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 18s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 14s root in the patch failed.
-1 ❌ compile 0m 17s root in the patch failed.
-0 ⚠️ javac 0m 17s root in the patch failed.
-0 ⚠️ checkstyle 0m 10s The patch fails to run checkstyle in root
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 6s The patch has no ill-formed XML file.
-1 ❌ hadoopcheck 0m 11s The patch causes 10 errors with Hadoop v3.1.2.
-1 ❌ hadoopcheck 0m 23s The patch causes 10 errors with Hadoop v3.2.1.
-1 ❌ hadoopcheck 0m 34s The patch causes 10 errors with Hadoop v3.3.0.
-1 ❌ spotbugs 0m 19s root in the patch failed.
-1 ❌ spotbugs 0m 11s hbase-http in the patch failed.
-1 ❌ spotbugs 0m 8s hbase-it in the patch failed.
-1 ❌ spotbugs 0m 11s hbase-rest in the patch failed.
_ Other Tests _
+1 💚 asflicense 0m 41s The patch does not generate ASF License warnings.
32m 27s
Subsystem Report/Notes
Docker ClientAPI=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 Tests dupname asflicense javac hadoopcheck xml compile spotbugs hbaseanti checkstyle
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / 735bcf8
Default Java AdoptOpenJDK-1.8.0_282-b08
mvninstall https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-general-check/output/patch-compile-root.txt
javac https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-general-check/output/patch-compile-root.txt
checkstyle https://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
hadoopcheck https://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
hadoopcheck https://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
hadoopcheck https://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
spotbugs https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/artifact/yetus-general-check/output/patch-spotbugs-root.txt
spotbugs https://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
spotbugs https://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
spotbugs https://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 count 141 (vs. ulimit of 30000)
modules C: . hbase-http hbase-it hbase-rest U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/2/console
versions git=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@ndimiduk
Copy link
Member Author

Rebased onto master.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 35s Docker mode activated.
-0 ⚠️ yetus 0m 4s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 29s Maven dependency ordering for branch
+1 💚 mvninstall 5m 27s master passed
+1 💚 compile 3m 41s master passed
+1 💚 shadedjars 9m 32s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 4m 38s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 22s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 18s root in the patch failed.
-1 ❌ compile 0m 16s root in the patch failed.
-0 ⚠️ javac 0m 16s root in the patch failed.
-1 ❌ shadedjars 0m 18s patch has 11 errors when building our shaded downstream artifacts.
-0 ⚠️ javadoc 0m 15s root in the patch failed.
-0 ⚠️ javadoc 0m 13s hbase-http in the patch failed.
-0 ⚠️ javadoc 0m 12s hbase-it in the patch failed.
-0 ⚠️ javadoc 0m 12s hbase-rest in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 19s root in the patch failed.
28m 38s
Subsystem Report/Notes
Docker ClientAPI=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 Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / f108997
Default Java AdoptOpenJDK-11.0.10+9
mvninstall https://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
compile https://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
javac https://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
shadedjars https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk11-hadoop3-check/output/patch-shadedjars.txt
javadoc https://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
javadoc https://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
javadoc https://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
javadoc https://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
unit https://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 Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/testReport/
Max. process+thread count 129 (vs. ulimit of 30000)
modules C: . hbase-http hbase-it hbase-rest U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 57s Docker mode activated.
-0 ⚠️ yetus 0m 4s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 30s Maven dependency ordering for branch
+1 💚 mvninstall 5m 46s master passed
+1 💚 compile 3m 28s master passed
+1 💚 shadedjars 10m 54s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 4m 28s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 20s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 20s root in the patch failed.
-1 ❌ compile 0m 17s root in the patch failed.
-0 ⚠️ javac 0m 17s root in the patch failed.
-1 ❌ shadedjars 0m 19s patch has 11 errors when building our shaded downstream artifacts.
-0 ⚠️ javadoc 0m 16s root in the patch failed.
-0 ⚠️ javadoc 0m 13s hbase-http in the patch failed.
-0 ⚠️ javadoc 0m 13s hbase-it in the patch failed.
-0 ⚠️ javadoc 0m 13s hbase-rest in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 18s root in the patch failed.
31m 31s
Subsystem Report/Notes
Docker ClientAPI=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 Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / f108997
Default Java AdoptOpenJDK-1.8.0_282-b08
mvninstall https://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
compile https://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
javac https://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
shadedjars https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-jdk8-hadoop3-check/output/patch-shadedjars.txt
javadoc https://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
javadoc https://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
javadoc https://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
javadoc https://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
unit https://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 Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/testReport/
Max. process+thread count 117 (vs. ulimit of 30000)
modules C: . hbase-http hbase-it hbase-rest U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 36s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗 mvndep 0m 28s Maven dependency ordering for branch
+1 💚 mvninstall 5m 18s master passed
+1 💚 compile 11m 54s master passed
+1 💚 checkstyle 2m 56s master passed
+1 💚 spotbugs 14m 22s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 17s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 14s root in the patch failed.
-1 ❌ compile 0m 17s root in the patch failed.
-0 ⚠️ javac 0m 17s root in the patch failed.
-0 ⚠️ checkstyle 0m 9s The patch fails to run checkstyle in root
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 5s The patch has no ill-formed XML file.
-1 ❌ hadoopcheck 0m 12s The patch causes 10 errors with Hadoop v3.1.2.
-1 ❌ hadoopcheck 0m 23s The patch causes 10 errors with Hadoop v3.2.2.
-1 ❌ hadoopcheck 0m 34s The patch causes 10 errors with Hadoop v3.3.1.
-1 ❌ spotbugs 0m 17s root in the patch failed.
-1 ❌ spotbugs 0m 10s hbase-http in the patch failed.
-1 ❌ spotbugs 0m 8s hbase-it in the patch failed.
-1 ❌ spotbugs 0m 10s hbase-rest in the patch failed.
_ Other Tests _
+1 💚 asflicense 0m 37s The patch does not generate ASF License warnings.
42m 0s
Subsystem Report/Notes
Docker ClientAPI=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 Tests dupname asflicense javac hadoopcheck xml compile spotbugs hbaseanti checkstyle
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / f108997
Default Java AdoptOpenJDK-1.8.0_282-b08
mvninstall https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-general-check/output/patch-compile-root.txt
javac https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-general-check/output/patch-compile-root.txt
checkstyle https://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
hadoopcheck https://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
hadoopcheck https://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
hadoopcheck https://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
spotbugs https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/artifact/yetus-general-check/output/patch-spotbugs-root.txt
spotbugs https://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
spotbugs https://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
spotbugs https://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 count 126 (vs. ulimit of 30000)
modules C: . hbase-http hbase-it hbase-rest U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/3/console
versions git=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@ndimiduk
Copy link
Member Author

ndimiduk commented Dec 3, 2021

@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>
@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 27s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗 mvndep 0m 26s Maven dependency ordering for branch
+1 💚 mvninstall 4m 8s master passed
+1 💚 compile 9m 0s master passed
+1 💚 checkstyle 2m 1s master passed
+1 💚 spotbugs 11m 57s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 35s Maven dependency ordering for patch
+1 💚 mvninstall 3m 52s the patch passed
+1 💚 compile 8m 52s the patch passed
+1 💚 javac 8m 52s the patch passed
+1 💚 checkstyle 2m 2s root: The patch generated 0 new + 202 unchanged - 16 fixed = 202 total (was 218)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 6s The patch has no ill-formed XML file.
+1 💚 hadoopcheck 21m 31s Patch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
-1 ❌ spotbugs 10m 24s root generated 4 new + 0 unchanged - 0 fixed = 4 total (was 0)
_ Other Tests _
+1 💚 asflicense 0m 56s The patch does not generate ASF License warnings.
87m 54s
Reason Tests
FindBugs module: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]
Subsystem Report/Notes
Docker ClientAPI=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 Tests dupname asflicense javac hadoopcheck xml compile spotbugs hbaseanti checkstyle
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / b5cf3cd
Default Java AdoptOpenJDK-1.8.0_282-b08
spotbugs https://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 count 141 (vs. ulimit of 30000)
modules C: hbase-http hbase-it hbase-rest . U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/5/console
versions git=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache 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

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 19s Docker mode activated.
-0 ⚠️ yetus 0m 5s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 31s Maven dependency ordering for branch
+1 💚 mvninstall 6m 11s master passed
+1 💚 compile 4m 1s master passed
+1 💚 shadedjars 10m 6s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 4m 44s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 37s Maven dependency ordering for patch
+1 💚 mvninstall 5m 42s the patch passed
+1 💚 compile 3m 54s the patch passed
+1 💚 javac 3m 54s the patch passed
+1 💚 shadedjars 10m 9s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 4m 38s the patch passed
_ Other Tests _
-1 ❌ unit 241m 12s root in the patch failed.
295m 43s
Subsystem Report/Notes
Docker ClientAPI=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 Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / b5cf3cd
Default Java AdoptOpenJDK-11.0.10+9
unit https://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 Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/5/testReport/
Max. process+thread count 3566 (vs. ulimit of 30000)
modules C: hbase-http hbase-it hbase-rest . U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/5/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 2m 50s Docker mode activated.
-0 ⚠️ yetus 0m 4s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 23s Maven dependency ordering for branch
+1 💚 mvninstall 4m 34s master passed
+1 💚 compile 3m 4s master passed
+1 💚 shadedjars 9m 22s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 3m 33s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 38s Maven dependency ordering for patch
+1 💚 mvninstall 4m 34s the patch passed
+1 💚 compile 3m 2s the patch passed
+1 💚 javac 3m 2s the patch passed
+1 💚 shadedjars 9m 11s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 3m 24s the patch passed
_ Other Tests _
-1 ❌ unit 399m 31s root in the patch failed.
446m 46s
Subsystem Report/Notes
Docker ClientAPI=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 Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / b5cf3cd
Default Java AdoptOpenJDK-1.8.0_282-b08
unit https://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 Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/5/testReport/
Max. process+thread count 3331 (vs. ulimit of 30000)
modules C: hbase-http hbase-it hbase-rest . U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3243/5/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@ndimiduk
Copy link
Member Author

This is superseded by HBASE-26523.

@ndimiduk ndimiduk closed this Jan 11, 2022
@ndimiduk ndimiduk deleted the 25864-shaded-javax.ws.rs branch January 11, 2022 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants