Repository: tez
Updated Branches:
  refs/heads/master c7ada820b -> 5dd94ee0c


TEZ-2632. -Paws and -Pazure build profiles for bundling hadoop-aws and 
hadoop-azure (gopalv)


Project: http://git-wip-us.apache.org/repos/asf/tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/5dd94ee0
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/5dd94ee0
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/5dd94ee0

Branch: refs/heads/master
Commit: 5dd94ee0ca27eb62fc32aa746c28c28e1d384aaa
Parents: c7ada82
Author: Gopal V <[email protected]>
Authored: Wed Jul 22 14:57:10 2015 -0700
Committer: Gopal V <[email protected]>
Committed: Wed Jul 22 14:57:10 2015 -0700

----------------------------------------------------------------------
 BUILDING.txt |  4 ++++
 pom.xml      | 28 ++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/5dd94ee0/BUILDING.txt
----------------------------------------------------------------------
diff --git a/BUILDING.txt b/BUILDING.txt
index 17500d5..7e4d39a 100644
--- a/BUILDING.txt
+++ b/BUILDING.txt
@@ -85,6 +85,10 @@ For Hadoop version X where X < 2.4.0
 
  $ mvn package  -Dhadoop.version=${X} -P\!hadoop24 -P\!hadoop26
 
+For recent versions of Hadoop, you can bundle AWS-S3 (2.6.0+) or Azure 
(2.7.0+) support 
+
+ $ mvn package -Dhadoop.version=${X} -Paws -Pazure 
+
 For building on Windows with the hadoop24 profile enabled:
 
 Tez has a couple of symlinks in its codebase. Windows is a bit difficult with

http://git-wip-us.apache.org/repos/asf/tez/blob/5dd94ee0/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index c9efa11..6661cb2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1117,6 +1117,34 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <id>aws</id>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.hadoop</groupId>
+          <artifactId>hadoop-aws</artifactId>
+          <scope>runtime</scope>
+          <version>${hadoop.version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
+    <profile>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <id>azure</id>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.hadoop</groupId>
+          <artifactId>hadoop-azure</artifactId>
+          <scope>runtime</scope>
+          <version>${hadoop.version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 
   <reporting>

Reply via email to