aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJey Kottalam <jey@cs.berkeley.edu>2013-08-21 21:15:00 -0700
committerJey Kottalam <jey@cs.berkeley.edu>2013-08-21 21:15:00 -0700
commit0087b43e9cddc726f661e1e047e63390d5d9b419 (patch)
treec84c8904b6baba9a37f0fa5cb82bebd48b669925 /README.md
parent54e9379de291c3d5e5a9749cfc022a17ff34852c (diff)
downloadspark-0087b43e9cddc726f661e1e047e63390d5d9b419.tar.gz
spark-0087b43e9cddc726f661e1e047e63390d5d9b419.tar.bz2
spark-0087b43e9cddc726f661e1e047e63390d5d9b419.zip
Use Hadoop 1.2.1 in application example
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 4 insertions, 5 deletions
diff --git a/README.md b/README.md
index 8502410c52..e5f527b84a 100644
--- a/README.md
+++ b/README.md
@@ -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>