You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by ni...@apache.org on 2016/02/11 23:32:38 UTC
samza-hello-samza git commit: SAMZA-851: fix latest hello-samza
deploying to CDH 5.4
Repository: samza-hello-samza
Updated Branches:
refs/heads/latest 6c2624081 -> 06d62651d
SAMZA-851: fix latest hello-samza deploying to CDH 5.4
Project: http://git-wip-us.apache.org/repos/asf/samza-hello-samza/repo
Commit: http://git-wip-us.apache.org/repos/asf/samza-hello-samza/commit/06d62651
Tree: http://git-wip-us.apache.org/repos/asf/samza-hello-samza/tree/06d62651
Diff: http://git-wip-us.apache.org/repos/asf/samza-hello-samza/diff/06d62651
Branch: refs/heads/latest
Commit: 06d62651d395f4bc7dd7b3c544077967ecc1edde
Parents: 6c26240
Author: Stanislav Los <sl...@gmail.com>
Authored: Tue Feb 9 20:19:31 2016 -0800
Committer: Yi Pan (Data Infrastructure) <ni...@gmail.com>
Committed: Tue Feb 9 20:19:31 2016 -0800
----------------------------------------------------------------------
pom.xml | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 53 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/samza-hello-samza/blob/06d62651/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index e541bb7..552c2a9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -105,8 +105,38 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-annotations</artifactId>
+ <version>${hadoop.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-auth</artifactId>
+ <version>${hadoop.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-common</artifactId>
+ <version>${hadoop.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-hdfs</artifactId>
- <version>2.6.1</version>
+ <version>${hadoop.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-yarn-api</artifactId>
+ <version>${hadoop.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-yarn-client</artifactId>
+ <version>${hadoop.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-yarn-common</artifactId>
+ <version>${hadoop.version}</version>
</dependency>
</dependencies>
@@ -114,6 +144,7 @@ under the License.
<!-- maven specific properties -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<samza.version>0.10.1-SNAPSHOT</samza.version>
+ <hadoop.version>2.6.1</hadoop.version>
</properties>
<developers>
@@ -157,6 +188,11 @@ under the License.
<name>Scala-tools Maven2 Repository</name>
<url>https://oss.sonatype.org/content/groups/scala-tools</url>
</repository>
+ <repository>
+ <id>cloudera-repos</id>
+ <name>Cloudera Repos</name>
+ <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
+ </repository>
</repositories>
<pluginRepositories>
@@ -242,4 +278,20 @@ under the License.
</plugin>
</plugins>
</build>
+
+ <profiles>
+ <!-- CDH compatible build: mvn clean package -Denv=cdh5.4.0 -->
+ <profile>
+ <id>cdh5.4.0</id>
+ <activation>
+ <property>
+ <name>env</name>
+ <value>cdh5.4.0</value>
+ </property>
+ </activation>
+ <properties>
+ <hadoop.version>2.6.0-cdh5.4.0</hadoop.version>
+ </properties>
+ </profile>
+ </profiles>
</project>