Skip to content
Snippets Groups Projects
Commit 0087b43e authored by Jey Kottalam's avatar Jey Kottalam
Browse files

Use Hadoop 1.2.1 in application example

parent 54e9379d
No related branches found
No related tags found
No related merge requests found
......@@ -71,19 +71,18 @@ described below.
When developing a Spark application, specify the Hadoop version by adding the
"hadoop-client" artifact to your project's dependencies. For example, if you're
using Hadoop 1.0.1 and build your application using SBT, add this to
using Hadoop 1.0.1 and build your application using SBT, add this entry to
`libraryDependencies`:
// "force()" is required because "1.0.1" is less than Spark's default of "1.0.4"
"org.apache.hadoop" % "hadoop-client" % "1.0.1" force()
"org.apache.hadoop" % "hadoop-client" % "1.2.1"
If your project is built with Maven, add this to your POM file's `<dependencies>` section:
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-client</artifactId>
<!-- the brackets are needed to tell Maven that this is a hard dependency on version "1.0.1" exactly -->
<version>[1.0.1]</version>
<!-- the brackets are needed to tell Maven that this is a hard dependency on version "1.2.1" exactly -->
<version>[1.2.1]</version>
</dependency>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment