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

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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.3, 2.0.0-alpha
    • 0.23.3, 2.0.2-alpha
    • build
    • None
    • 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

        1. assembly-plugin-update.txt
          1 kB
          Radim Kolar

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment