|
1 | 1 | # Quick Start Guide
|
2 | 2 |
|
3 | 3 | This tutorial provides instructions to help you get started with Kotlin Spark API. We use an example similar to the official [Apache Spark
|
4 |
| -Quick Start Guide](https://spark.apache.org/docs/3.0.0-preview2/quick-start.html#self-contained-applications). |
| 4 | +Quick Start Guide](https://spark.apache.org/docs/3.0.0/quick-start.html#self-contained-applications). |
5 | 5 | You'll learn what you need to set up your environment, how to write, package and execute a simple self-contained application.
|
6 | 6 |
|
7 | 7 | Prerequisites:
|
8 | 8 | - You need to have Java installed and have the JAVA_HOME environment variable pointing to the Java installation.
|
9 | 9 | - You need to have Apache Spark installed and have SPARK_HOME environment variable pointing to the Spark installation.
|
10 |
| -We recommend using Apache Spark 3.0.0-preview2 version. You can download it from the [Spark official website](https://spark.apache.org/downloads.html). |
| 10 | +We recommend using Apache Spark 3.0.0 version. You can download it from the [Spark official website](https://spark.apache.org/downloads.html). |
11 | 11 |
|
12 | 12 |
|
13 | 13 | ## Self-contained application
|
@@ -80,12 +80,12 @@ Here's what the `pom.xml` looks like for this example:
|
80 | 80 | <dependency> <!-- Kotlin Spark API dependency -->
|
81 | 81 | <groupId>com.github.JetBrains.kotlin-spark-api</groupId>
|
82 | 82 | <artifactId>kotlin-spark-api</artifactId>
|
83 |
| - <version>0.1.0</version> |
| 83 | + <version>0.2.0</version> |
84 | 84 | </dependency>
|
85 | 85 | <dependency> <!-- Spark dependency -->
|
86 | 86 | <groupId>org.apache.spark</groupId>
|
87 | 87 | <artifactId>spark-sql_2.12</artifactId>
|
88 |
| - <version>3.0.0-preview2</version> |
| 88 | + <version>3.0.0</version> |
89 | 89 | </dependency>
|
90 | 90 | </dependencies>
|
91 | 91 |
|
@@ -171,9 +171,9 @@ dependencies {
|
171 | 171 | // Kotlin stdlib
|
172 | 172 | implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.3.72'
|
173 | 173 | // Kotlin Spark API
|
174 |
| - implementation 'com.github.JetBrains.kotlin-spark-api:kotlin-spark-api:0.1.0' |
| 174 | + implementation 'com.github.JetBrains.kotlin-spark-api:kotlin-spark-api:0.2.0' |
175 | 175 | // Apache Spark
|
176 |
| - compileOnly 'org.apache.spark:spark-sql_2.12:3.0.0-preview2' |
| 176 | + compileOnly 'org.apache.spark:spark-sql_2.12:3.0.0' |
177 | 177 | }
|
178 | 178 |
|
179 | 179 | compileKotlin {
|
|
0 commit comments