hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject svn commit: r1380990 - in /hadoop/common/branches/HDFS-3077: ./ BUILDING.txt hadoop-project/pom.xml
Date Wed, 05 Sep 2012 04:58:05 GMT
Author: todd
Date: Wed Sep  5 04:57:47 2012
New Revision: 1380990

URL: http://svn.apache.org/viewvc?rev=1380990&view=rev
Merge trunk into QJM branch

    hadoop/common/branches/HDFS-3077/   (props changed)

Propchange: hadoop/common/branches/HDFS-3077/
  Merged /hadoop/common/trunk:r1377086-1380986

Modified: hadoop/common/branches/HDFS-3077/BUILDING.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/HDFS-3077/BUILDING.txt?rev=1380990&r1=1380989&r2=1380990&view=diff
--- hadoop/common/branches/HDFS-3077/BUILDING.txt (original)
+++ hadoop/common/branches/HDFS-3077/BUILDING.txt Wed Sep  5 04:57:47 2012
@@ -54,12 +54,32 @@ Maven build goals:
  Build options:
   * Use -Pnative to compile/bundle native code
-  * Use -Dsnappy.prefix=(/usr/local) & -Dbundle.snappy=(false) to compile
-    Snappy JNI bindings and to bundle Snappy SO files
   * Use -Pdocs to generate & bundle the documentation in the distribution (using -Pdist)
   * Use -Psrc to create a project source TAR.GZ
   * Use -Dtar to create a TAR with the distribution (using -Pdist)
+ Snappy build options:
+   Snappy is a compression library that can be utilized by the native code.
+   It is currently an optional component, meaning that Hadoop can be built with
+   or without this dependency.
+  * Use -Drequire.snappy to fail the build if libsnappy.so is not found.
+    If this option is not specified and the snappy library is missing,
+    we silently build a version of libhadoop.so that cannot make use of snappy.
+    This option is recommended if you plan on making use of snappy and want
+    to get more repeatable builds.
+  * Use -Dsnappy.prefix to specify a nonstandard location for the libsnappy
+    header files and library files. You do not need this option if you have
+    installed snappy using a package manager.
+  * Use -Dsnappy.lib to specify a nonstandard location for the libsnappy library
+    files.  Similarly to snappy.prefix, you do not need this option if you have
+    installed snappy using a package manager.
+  * Use -Dbundle.snappy to copy the contents of the snappy.lib directory into
+    the final tar file. This option requires that -Dsnappy.lib is also given,
+    and it ignores the -Dsnappy.prefix option.
    Tests options:
   * Use -DskipTests to skip tests when running the following Maven goals:

Modified: hadoop/common/branches/HDFS-3077/hadoop-project/pom.xml
URL: http://svn.apache.org/viewvc/hadoop/common/branches/HDFS-3077/hadoop-project/pom.xml?rev=1380990&r1=1380989&r2=1380990&view=diff
--- hadoop/common/branches/HDFS-3077/hadoop-project/pom.xml (original)
+++ hadoop/common/branches/HDFS-3077/hadoop-project/pom.xml Wed Sep  5 04:57:47 2012
@@ -120,6 +120,12 @@
+        <artifactId>hadoop-yarn-client</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.hadoop</groupId>

View raw message