Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-27860

Fix build error against Hadoop 3.3.5

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Build with hadoop 3.3.5 will fail with following messages.

      Some packages are not included in shaded jar.

      $ 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/ 

      Attachments

        Issue Links

          Activity

            People

              yamasakisua Shuhei Yamasaki
              yamasakisua Shuhei Yamasaki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: