diff options
author | Jey Kottalam <jey@cs.berkeley.edu> | 2013-08-21 21:15:00 -0700 |
---|---|---|
committer | Jey Kottalam <jey@cs.berkeley.edu> | 2013-08-21 21:15:00 -0700 |
commit | 0087b43e9cddc726f661e1e047e63390d5d9b419 (patch) | |
tree | c84c8904b6baba9a37f0fa5cb82bebd48b669925 | |
parent | 54e9379de291c3d5e5a9749cfc022a17ff34852c (diff) | |
download | spark-0087b43e9cddc726f661e1e047e63390d5d9b419.tar.gz spark-0087b43e9cddc726f661e1e047e63390d5d9b419.tar.bz2 spark-0087b43e9cddc726f661e1e047e63390d5d9b419.zip |
Use Hadoop 1.2.1 in application example
-rw-r--r-- | README.md | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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> |