aboutsummaryrefslogtreecommitdiff
path: root/streaming/pom.xml
diff options
context:
space:
mode:
authorMridul Muralidharan <mridul@gmail.com>2013-04-07 17:47:38 +0530
committerMridul Muralidharan <mridul@gmail.com>2013-04-07 17:47:38 +0530
commit6798a09df84fb97e196c84d55cf3e21ad676871f (patch)
tree0d0f16518dfcfcdc10fd60ce49c860ed9bfc8c25 /streaming/pom.xml
parent9831bc1a09fa7fd56f55c3df4f448bc37b3d7d9a (diff)
downloadspark-6798a09df84fb97e196c84d55cf3e21ad676871f.tar.gz
spark-6798a09df84fb97e196c84d55cf3e21ad676871f.tar.bz2
spark-6798a09df84fb97e196c84d55cf3e21ad676871f.zip
Add support for building against hadoop2-yarn : adding new maven profile for it
Diffstat (limited to 'streaming/pom.xml')
-rw-r--r--streaming/pom.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/streaming/pom.xml b/streaming/pom.xml
index ec077e8089..fc2e211a42 100644
--- a/streaming/pom.xml
+++ b/streaming/pom.xml
@@ -149,5 +149,42 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>hadoop2-yarn</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.spark-project</groupId>
+ <artifactId>spark-core</artifactId>
+ <version>${project.version}</version>
+ <classifier>hadoop2-yarn</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-client</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-yarn-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-yarn-common</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <classifier>hadoop2-yarn</classifier>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>