Repository: tez Updated Branches: refs/heads/master 1c31b7978 -> 247719d73
TEZ-3690. addendum patch. Tez on hadoop 3 build failed due to hdfs client/server jar separation (zhiyuany) Project: http://git-wip-us.apache.org/repos/asf/tez/repo Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/247719d7 Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/247719d7 Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/247719d7 Branch: refs/heads/master Commit: 247719d7314232f680f028f4e1a19370ffb7b1bb Parents: 1c31b79 Author: Zhiyuan Yang <[email protected]> Authored: Thu Apr 27 00:02:31 2017 -0700 Committer: Zhiyuan Yang <[email protected]> Committed: Thu Apr 27 00:03:49 2017 -0700 ---------------------------------------------------------------------- tez-api/pom.xml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tez/blob/247719d7/tez-api/pom.xml ---------------------------------------------------------------------- diff --git a/tez-api/pom.xml b/tez-api/pom.xml index beff3c4..2f2399c 100644 --- a/tez-api/pom.xml +++ b/tez-api/pom.xml @@ -96,11 +96,6 @@ <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-hdfs</artifactId> - <scope>runtime</scope> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-hdfs</artifactId> <scope>test</scope> <type>test-jar</type> </dependency> @@ -210,6 +205,19 @@ <profiles> <profile> + <id>hadoop27</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <dependencies> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-hdfs</artifactId> + <scope>runtime</scope> + </dependency> + </dependencies> + </profile> + <profile> <id>hadoop28</id> <dependencies> <dependency>
