Skip to content

Commit 0fa8eac

Browse files
committed
Add macro for shdp maven deps
1 parent cfc7b99 commit 0fa8eac

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

describe_shdp_yarn_deps_maven.adoc

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
== Declaring Hadoop dependencies
2+
3+
Spring for Apache Hadoop provides necessary transitive dependencies via
4+
the project's Maven POM files. The default is using Apache Hadoop 2.2.x
5+
but there are additional versions available for other Hadoop distributions
6+
like Pivotal HD, Hortonworks Data Platform or Cloudera CDH. By specifying
7+
the desired version, your project will automatically resolve the correct
8+
Hadoop distribution dependencies.
9+
10+
[source,xml]
11+
.Apache Hadoop 2.2.x
12+
----
13+
<dependencies>
14+
<dependency>
15+
<groupId>org.springframework.data</groupId>
16+
<artifactId>spring-yarn-boot</artifactId>
17+
<version>2.0.0.RC2</version>
18+
</dependency>
19+
</dependencies>
20+
----
21+
22+
[source,xml]
23+
.Hortonworks Data Platform 2.x
24+
----
25+
<dependencies>
26+
<dependency>
27+
<groupId>org.springframework.data</groupId>
28+
<artifactId>spring-yarn-boot</artifactId>
29+
<version>2.0.0.RC2-hdp20</version>
30+
</dependency>
31+
</dependencies>
32+
----
33+
34+
[source,xml]
35+
.Cloudera CDH 5.x
36+
----
37+
<dependencies>
38+
<dependency>
39+
<groupId>org.springframework.data</groupId>
40+
<artifactId>spring-yarn-boot</artifactId>
41+
<version>2.0.0.RC2-cdh5</version>
42+
</dependency>
43+
</dependencies>
44+
----
45+

0 commit comments

Comments
 (0)