You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Pat Ferrel (JIRA)" <ji...@apache.org> on 2012/12/10 05:49:20 UTC

[jira] [Created] (MAHOUT-1126) Mac builds won't unjar

Pat Ferrel created MAHOUT-1126:
----------------------------------

             Summary: Mac builds won't unjar
                 Key: MAHOUT-1126
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1126
             Project: Mahout
          Issue Type: Bug
          Components: build
    Affects Versions: 0.8
         Environment: Builds on the Mac
            Reporter: Pat Ferrel
             Fix For: 0.8


On the Mac you have to remove the licenses in the mahout jar or hadoop can't unjar mahout. The Mac has a case insensitive file system and so can't tell the difference between LICENSE and license. This was fixed at one point https://issues.apache.org/jira/browse/MAHOUT-780

zip -d mahout/examples/target/mahout-examples-0.8-SNAPSHOT-job.jar META-INF/license/
zip -d mahout/examples/target/mahout-examples-0.8-SNAPSHOT-job.jar META-INF/LICENSE/

Looks like as is mentioned in 780 

mv target/maven-shared-archive-resources/META-INF/LICENSE target/maven-shared-archive-resources/META-INF/LICENSES

works too.

Can this get a permanent fix?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira