You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Xavier Fernandis (Jira)" <ji...@apache.org> on 2026/01/05 20:10:00 UTC
[jira] [Created] (HBASE-29807) Add jcip-annotations dependency to hbase for Hadoop 3.4+ compatibility
Xavier Fernandis created HBASE-29807:
----------------------------------------
Summary: Add jcip-annotations dependency to hbase for Hadoop 3.4+ compatibility
Key: HBASE-29807
URL: https://issues.apache.org/jira/browse/HBASE-29807
Project: HBase
Issue Type: Bug
Reporter: Xavier Fernandis
Assignee: Xavier Fernandis
*Problem:* HBase build fails with Hadoop 3.4+ due to missing `net.jcip.annotations` package.
*Root cause :* Earlier hadoop was dependent on com.nimbusds:nimbus-jose-jwt:jar:9.37.2 (which brought in com.github.stephenc.jcip:jcip-annotations:jar:1.0-1).
With latest hadoop: it has moved to com.nimbusds:nimbus-jose-jwt:jar:10.0.2 (which does not bring in the dependency), refer commit [https://github.com/apache/hadoop/commit/3baa288982333fbbc3839cf55baaf36f49e0f7b6#diff-635a9ebcc70f58d8ca1c55b0d78cc90064a5081d189162a432271778da3cf018.]
Jira : https://issues.apache.org/jira/browse/HADOOP-19632
*Error Trace :*
{color:#FF0000}INFO] BUILD FAILURE{color}
{color:#FF0000}[INFO] ------------------------------------------------------------------------{color}
{color:#FF0000}[INFO] Total time: 44.151 s{color}
{color:#FF0000}[INFO] Finished at: 2026-01-05T16:03:07+05:30{color}
{color:#FF0000}[INFO] ------------------------------------------------------------------------{color}
{color:#FF0000}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project hbase-client: Compilation failure: Compilation failure: {color}
{color:#FF0000}[ERROR] /Users/xfernand/code/59954-hbase/hbase-client/src/main/java/org/apache/hadoop/hbase/security/provider/BuiltInProviderSelector.java:[24,28] *package net.jcip.annotations does not exist*{color}
{color:#FF0000}[ERROR] /Users/xfernand/code/59954-hbase/hbase-client/src/main/java/org/apache/hadoop/hbase/security/provider/BuiltInProviderSelector.java:[49,2] cannot find symbol{color}
{color:#FF0000}[ERROR] symbol: class NotThreadSafe{color}
{color:#FF0000}[ERROR] -> [Help 1]{color}
{color:#FF0000}[ERROR] {color}
{color:#FF0000}[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.{color}
{color:#FF0000}[ERROR] Re-run Maven using the -X switch to enable full debug logging.{color}
{color:#FF0000}[ERROR] {color}
{color:#FF0000}[ERROR] For more information about the errors and possible solutions, please read the following articles:{color}
{color:#FF0000}[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException{color}
{color:#FF0000}[ERROR] {color}
{color:#FF0000}[ERROR] After correcting the problems, you can resume the build with the command{color}
{color:#FF0000}[ERROR] mvn <args> -rf :hbase-client{color}
{color:#FF0000}make: *** [dev-build] Error 1{color}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)