diff options
author | CodingCat <zhunansjtu@gmail.com> | 2014-02-19 15:54:03 -0800 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-02-19 15:54:03 -0800 |
commit | 7b012c93973201a1cbb4fc9a02e322152e5185a9 (patch) | |
tree | e4042829f0e73bf662844a2a6f4fd5c945b6779e /docs/quick-start.md | |
parent | b61435c7ff620a05bee65607aed249541ab54b13 (diff) | |
download | spark-7b012c93973201a1cbb4fc9a02e322152e5185a9.tar.gz spark-7b012c93973201a1cbb4fc9a02e322152e5185a9.tar.bz2 spark-7b012c93973201a1cbb4fc9a02e322152e5185a9.zip |
[SPARK-1105] fix site scala version error in docs
https://spark-project.atlassian.net/browse/SPARK-1105
fix site scala version error
Author: CodingCat <zhunansjtu@gmail.com>
Closes #618 from CodingCat/doc_version and squashes the following commits:
39bb8aa [CodingCat] more fixes
65bedb0 [CodingCat] fix site scala version error in doc
Diffstat (limited to 'docs/quick-start.md')
-rw-r--r-- | docs/quick-start.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/quick-start.md b/docs/quick-start.md index 153081bdaa..13df6beea1 100644 --- a/docs/quick-start.md +++ b/docs/quick-start.md @@ -115,7 +115,7 @@ object SimpleApp { def main(args: Array[String]) { val logFile = "$YOUR_SPARK_HOME/README.md" // Should be some file on your system val sc = new SparkContext("local", "Simple App", "YOUR_SPARK_HOME", - List("target/scala-{{site.SCALA_VERSION}}/simple-project_{{site.SCALA_VERSION}}-1.0.jar")) + List("target/scala-{{site.SCALA_BINARY_VERSION}}/simple-project_{{site.SCALA_BINARY_VERSION}}-1.0.jar")) val logData = sc.textFile(logFile, 2).cache() val numAs = logData.filter(line => line.contains("a")).count() val numBs = logData.filter(line => line.contains("b")).count() @@ -214,7 +214,7 @@ To build the program, we also write a Maven `pom.xml` file that lists Spark as a <dependencies> <dependency> <!-- Spark dependency --> <groupId>org.apache.spark</groupId> - <artifactId>spark-core_{{site.SCALA_VERSION}}</artifactId> + <artifactId>spark-core_{{site.SCALA_BINARY_VERSION}}</artifactId> <version>{{site.SPARK_VERSION}}</version> </dependency> </dependencies> |