[ https://issues.apache.org/jira/browse/GIRAPH-159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237609#comment-13237609 ]
Brian Femiano commented on GIRAPH-159: -------------------------------------- I figured out what's causing it. It's a result of adding my hbase dependency to the pom.xml <dependency> <groupId>org.apache.hbase</groupId> <artifactId>hbase</artifactId> <version>0.92.1</version> </dependency> Compile the jar and you should see a new 'license' directory. jar tvf giraph-0.2-SNAPSHOT-jar-with-dependencies.jar | grep -i 'license' 1358 Mon Mar 16 00:31:16 EDT 2009 META-INF/LICENSE.txt 11358 Mon Nov 19 00:16:46 EST 2007 META-INF/LICENSE 1596 Mon Dec 20 14:42:08 EST 2010 LICENSE 11560 Tue Aug 23 13:48:08 EDT 2011 META-INF/maven/org.xerial.snappy/snappy-java/LICENSE 0 Mon Feb 07 21:38:56 EST 2011 META-INF/license/ 1592 Mon Feb 07 21:38:38 EST 2011 META-INF/license/LICENSE.base64.txt 10174 Mon Feb 07 21:38:38 EST 2011 META-INF/license/LICENSE.commons-logging.txt 10174 Mon Feb 07 21:38:38 EST 2011 META-INF/license/LICENSE.felix.txt 26441 Mon Feb 07 21:38:38 EST 2011 META-INF/license/LICENSE.jboss-logging.txt 1592 Mon Feb 07 21:38:38 EST 2011 META-INF/license/LICENSE.jsr166y.txt 1465 Mon Feb 07 21:38:38 EST 2011 META-INF/license/LICENSE.jzlib.txt 10174 Mon Feb 07 21:38:38 EST 2011 META-INF/license/LICENSE.log4j.txt 1732 Mon Feb 07 21:38:38 EST 2011 META-INF/license/LICENSE.protobuf.txt 1203 Mon Feb 07 21:38:38 EST 2011 META-INF/license/LICENSE.slf4j.txt 11358 Fri Jan 21 17:06:30 EST 2011 LICENSE.txt 1062 Tue Oct 25 10:29:02 EDT 2011 META-INF/jruby.home/lib/ruby/gems/1.8/gems/rake-0.8.7/MIT-LICENSE > Case insensitive file/directory name matching will produce errors on M/R jar > unpack. > ------------------------------------------------------------------------------------- > > Key: GIRAPH-159 > URL: https://issues.apache.org/jira/browse/GIRAPH-159 > Project: Giraph > Issue Type: Bug > Components: build > Affects Versions: 0.2.0 > Environment: OSX 10.6.8 > Reporter: Brian Femiano > Attachments: GIRAPH-159.patch, compile.xml > > > This only seems to affect platforms where there can be a file/directory > naming conflicts > from case insensitive matches. > > I was able to reproduce running the pseudo-distributed unit tests within OSX. > This has affected other projects: > https://issues.apache.org/jira/browse/MAHOUT-780 > I've been able to reproduce this on my local OSX install with the following > error: > https://groups.google.com/a/cloudera.org/group/cdh-user/browse_thread/thread/a201218000e956d3/cc6eca3ef9f80ff8 > Since LICENSE.txt contains the same content as the file LICENSE, I propose we > exclude any LICENSE matches found in the unpacked dependency jars > when the maven assembly phase hits 'jar-with-dependencies'. > I have a patch which moves the 'jar-with-dependencies' descriptor to an > external compile.xml file which has the proper excludes. This might also > come in handy down the road should any additional tweaks be needed to the > compile phase. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira