Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-11496

Ozone: Merge with trunk needed a ignore duplicate entry in pom file due to shading

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS-7240
    • HDFS-7240
    • ozone
    • None
    • Reviewed

    Description

      The trunk merge needed a hack in the hadoop-client-modules/hadoop-client-check-test-invariants/pom.xml to ignore netty files. Not sure that is the right thing to do, so tracking here if we need to revert this change before we merge.

      ~/a/hadoop> git diff hadoop-client-modules/hadoop-client-check-test-invariants/pom.xml
      ─────────────────────────────────────────────────
      modified: hadoop-client-modules/hadoop-client-check-test-invariants/pom.xml
      ─────────────────────────────────────────────────
      @ pom.xml:106 @
                              <ignoreClass>*</ignoreClass>
                            </ignoreClasses>
                          </dependency>
                          <dependency>
                            <!--Duplicate classes found:-->
                            <!--Found in:-->
                            <!--org.apache.hadoop:hadoop-client-runtime:jar:3.0.0-alpha3-SNAPSHOT:compile-->
                            <!--org.apache.hadoop:hadoop-client-minicluster:jar:3.0.0-alpha3-SNAPSHOT:compile-->
                            <ignoreClasses>
                              <groupId>io.netty</groupId>
                              <artifactId>netty</artifactId>
                              <ignoreClass>*</ignoreClass>
                            </ignoreClasses>
                          </dependency>
                        </dependencies>
                      </banDuplicateClasses>
                    </rules>
      

      andrew.wang or busbey Would one of you care to comment if this is the right thing to do ? Thanks in advance.

      Attachments

        Activity

          People

            szetszwo Tsz-wo Sze
            aengineer Anu Engineer
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: