Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Build with Hortonworks HDP 1.3

trisberg edited this page Dec 19, 2014 · 4 revisions

If you are using Spring for Apache Hadoop with Hortonworks HDP 1.3 then you need to add the following repository to your Maven pom:

<repository>
  <id>spring-releases</id>
  <name>Spring Release Repository</name>
  <url>http://repo.spring.io/libs-release</url>
</repository>

Current: Spring for Apache Hadoop v2.0

If you build your own applications with Maven targeting Hortonworks HDP 1.3 then you can use the latest Spring for Apache Hadoop 2.0.x release using a version of 2.0.4.RELEASE-hdp13.

Spring for Apache Hadoop v2.0 application using Maven

We have recently started publishing "flavors" of the Spring for Apache Hadoop project built against different Hadoop distributions. This allows for better transitive dependency resolution.

The dependency to use for the Hortonworks HDP 1.3 "flavor" of spring-data-hadoop is:

<dependency>
  <groupId>org.springframework.data</groupId>
  <artifactId>spring-data-hadoop</artifactId>
  <version>2.0.4.RELEASE-hdp13</version>
</dependency>

Note: The hdp13 suffix for the spring-data-hadoop version will select the correct build that resolves the transitive dependencies for Hortonworks HDP 1.3.

Previous: Spring for Apache Hadoop v1.x

If you prefer to use Spring for Apapche Hadoop version 1.x when building your own applications with Maven targeting Hortonworks HDP 1.3 then you can use the latest Spring for Apache Hadoop 1.1 release using a version of 1.1.0.RELEASE-hdp13.

Spring for Apache Hadoop v1.x application using Maven

We have recently started publishing "flavors" of the Spring for Apache Hadoop project built against different Hadoop distributions. This allows for better transitive dependency resolution.

The dependency to use for the Hortonworks HDP 1.3 "flavor" of spring-data-hadoop is:

<dependency>
  <groupId>org.springframework.data</groupId>
  <artifactId>spring-data-hadoop</artifactId>
  <version>1.1.0.RELEASE-hdp13</version>
</dependency>

Note: The hdp13 suffix for the spring-data-hadoop version will select the correct build that resolves the transitive dependencies for Hortonworks HDP 1.3.