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)

Reply via email to