Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-269

Unable to build on Mac OSX

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.0.1
    • 0.0.2
    • Tools and Build
    • None

    Description

      I was attempting to build the latest NiFi from the develop branch on my Mac and received the following error:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5.2:single (make shared resource) on project nifi: Execution make shared resource of goal org.apache.maven.plugins:maven-assembly-plugin:2.5.2:single failed: user id '748104463' is too big ( > 2097151 ) -> [Help 1]

      After a bit of research I found that this error can happen frequently on Macs and can be prevented by setting assembly.tarLongFileMode to posix rather than gnu.

      I adjusted my pom.xml as described and the build worked fine. Might be worth one of the devs taking a look and determining if it has any detrimental effects.

      See also an issue I found in the Phoenix project describing the same thing: PHOENIX-1503

      Attachments

        Activity

          People

            joewitt Joe Witt
            deinspanjer Daniel Einspanjer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: