Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8317

Update maven-assembly-plugin to 2.3 - fix build on FreeBSD

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.3, 2.0.0-alpha
    • Fix Version/s: 0.23.3, 2.0.2-alpha
    • Component/s: build
    • Labels:
      None
    • Environment:

      FreeBSD 8.2, AMD 64, OPENJDK 6, ZFS

      Description

      There is bug in hadoop-assembly plugin which makes builds fail on FreeBSD because its chmod do not understand nonstgandard linux parameters. Unless you do mvn clean before every build it fails with:

      [INFO] — maven-assembly-plugin:2.2.1:single (dist) @ hadoop-common —
      [WARNING] The following patterns were never triggered in this artifact exclusion filter:
      o 'org.apache.ant:*:jar'
      o 'jdiff:jdiff:jar'

      [INFO] Copying files to /usr/local/jboss/.jenkins/jobs/Hadoop-0.23/workspace/hadoop-common-project/hadoop-common/target/hadoop-common-0.23.3-SNAPSHOT
      [WARNING] -------------------------------
      [WARNING] Standard error:
      [WARNING] -------------------------------
      [WARNING]
      [WARNING] -------------------------------
      [WARNING] Standard output:
      [WARNING] -------------------------------
      [WARNING] chmod: /usr/local/jboss/.jenkins/jobs/Hadoop-0.23/workspace/hadoop-common-project/hadoop-common/target/hadoop-common-0.23.3-SNAPSHOT/share/hadoop/common/lib/hadoop-auth-0.23.3-SNAPSHOT.jar: Inappropriate file type or format

      [WARNING] -------------------------------
      mojoFailed org.apache.maven.plugins:maven-assembly-plugin:2.2.1(dist)
      projectFailed org.apache.hadoop:hadoop-common:0.23.3-SNAPSHOT
      sessionEnded

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hsn Radim Kolar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: