File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
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
+
You can’t perform that action at this time.
0 commit comments