You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Shuhei Yamasaki (Jira)" <ji...@apache.org> on 2023/05/12 01:26:00 UTC

[jira] [Created] (HBASE-27860) Fix build error against Hadoop 3.3.5

Shuhei Yamasaki created HBASE-27860:
---------------------------------------

             Summary: Fix build error against Hadoop 3.3.5
                 Key: HBASE-27860
                 URL: https://issues.apache.org/jira/browse/HBASE-27860
             Project: HBase
          Issue Type: Bug
          Components: build, hadoop3
            Reporter: Shuhei Yamasaki


Build with hadoop 3.3.5 will fail with following messages.

Some packages are not included in shaded jar.
{code:java}
$ mvn clean install -DskipTests -Phadoop-3.0 -Dhadoop-three.version=3.3.5
...
[INFO] --- exec:1.6.0:exec (check-jar-contents-for-stuff-with-hadoop) @ hbase-shaded-with-hadoop-check-invariants ---
[ERROR] Found artifact with unexpected contents: '/home/yamasakisua/hbase/hbase-shaded/hbase-shaded-client/target/hbase-shaded-client-2.4.17.jar'
    Please check the following and either correct the build or update
    the allowed list with reasoning.    com/
    com/sun/
    com/sun/jersey/
    com/sun/jersey/json/ {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)