aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>