[ https://issues.apache.org/jira/browse/HADOOP-8620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426349#comment-13426349 ]
Alejandro Abdelnur commented on HADOOP-8620: -------------------------------------------- I've tried the *mvn clean test -DskipTests -Drequire.snappy=true -Dsnappy.prefix=/home/tucu/src/snappy-1.0.3/build/usr/local -Pnative* on Ubuntu 10.4 and the build is failing and I have snappy in the specified directory: {code} /home/tucu/src/snappy-1.0.3/build/usr/local/ /home/tucu/src/snappy-1.0.3/build/usr/local/share /home/tucu/src/snappy-1.0.3/build/usr/local/share/doc /home/tucu/src/snappy-1.0.3/build/usr/local/share/doc/snappy /home/tucu/src/snappy-1.0.3/build/usr/local/share/doc/snappy/INSTALL /home/tucu/src/snappy-1.0.3/build/usr/local/share/doc/snappy/ChangeLog /home/tucu/src/snappy-1.0.3/build/usr/local/share/doc/snappy/COPYING /home/tucu/src/snappy-1.0.3/build/usr/local/share/doc/snappy/README /home/tucu/src/snappy-1.0.3/build/usr/local/share/doc/snappy/format_description.txt /home/tucu/src/snappy-1.0.3/build/usr/local/share/doc/snappy/NEWS /home/tucu/src/snappy-1.0.3/build/usr/local/include /home/tucu/src/snappy-1.0.3/build/usr/local/include/snappy.h /home/tucu/src/snappy-1.0.3/build/usr/local/include/snappy-stubs-public.h /home/tucu/src/snappy-1.0.3/build/usr/local/include/snappy-c.h /home/tucu/src/snappy-1.0.3/build/usr/local/include/snappy-sinksource.h /home/tucu/src/snappy-1.0.3/build/usr/local/lib /home/tucu/src/snappy-1.0.3/build/usr/local/lib/libsnappy.a /home/tucu/src/snappy-1.0.3/build/usr/local/lib/libsnappy.so /home/tucu/src/snappy-1.0.3/build/usr/local/lib/libsnappy.so.1 /home/tucu/src/snappy-1.0.3/build/usr/local/lib/libsnappy.la /home/tucu/src/snappy-1.0.3/build/usr/local/lib/libsnappy.so.1.1.1 {code} > Add -Drequire.fuse and -Drequire.snappy > --------------------------------------- > > Key: HADOOP-8620 > URL: https://issues.apache.org/jira/browse/HADOOP-8620 > Project: Hadoop Common > Issue Type: Improvement > Components: build > Affects Versions: 2.0.1-alpha > Reporter: Colin Patrick McCabe > Assignee: Colin Patrick McCabe > Priority: Minor > Attachments: HADOOP-8620.002.patch > > > We have some optional build components which don't get built if they are not > installed on the build machine. One of those components is fuse_dfs. > Another is the snappy support in libhadoop.so. > Unfortunately, since these components are silently ignored if they are not > present, it's easy to unintentionally create an incomplete build. > We should add two flags, -Drequire.fuse and -Drequire.snappy, that do exactly > what the names suggest. This will make the build more repeatable. Those who > want a complete build can specify these system properties to maven. If the > build cannot be created as requested, it will be a hard error. -- 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