Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-10178

Shaded Jar build failure in case insensitive filesystem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0, 1.4.1
    • None

    Description

      Maven build of shaded hadoop jar fails when trying to extract 

      ozone-filesystem-shaded jar to classes since the jar has a directory called license containing many license files and a file LICENSE within the same directory, which interferes with one another when unpack module on the artifact runs.

      [DEBUG] Found unArchiver: org.codehaus.plexus.archiver.jar.JarUnArchiver by type: jar
      [DEBUG] Expanding: /Users/sbalachandran/.m2/repository/org/apache/ozone/ozone-filesystem-shaded/1.5.0-SNAPSHOT/ozone-filesystem-shaded-1.5.0-SNAPSHOT.jar into /Users/sbalachandran/Documents/ozone/hadoop-ozone/ozonefs-hadoop2/target/classes
      [WARNING] Archive entry 'META-INF/license/' and existing file '/Users/sbalachandran/Documents/ozone/hadoop-ozone/ozonefs-hadoop2/target/classes/META-INF/LICENSE' names differ only by case. This may lead to an unexpected outcome on case-insensitive filesystems. 

      Attachments

        Issue Links

          Activity

            People

              swamirishi Swaminathan Balachandran
              hemantk Hemant Kumar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: