Skip to content

Commit 172647c

Browse files
committed
Updates docs
Signed-off-by: Pasha Finkelshteyn <[email protected]>
1 parent e16d6b3 commit 172647c

File tree

4 files changed

+8
-16
lines changed

4 files changed

+8
-16
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Currently, there are no kotlin-spark-api artifacts in maven central, but you can
2323

2424
There is support for `Maven`, `Gradle`, `SBT`, and `leinengen` on JitPack.
2525

26-
This project does not force you to use any specific version of Spark, but it has only been tested it with spark `3.0.0-preview2`.
26+
This project does not force you to use any specific version of Spark, but it has only been tested it with spark `3.0.0`.
2727

2828
So if you're using Maven you'll have to add the following into your `pom.xml`:
2929

Diff for: docs/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Currently, there are no kotlin-spark-api artifacts in maven central, but you can
3535

3636
There is support for `Maven`, `Gradle`, `SBT`, and `leinengen` on JitPack.
3737

38-
This project does not force you to use any specific version of Spark, but it has only been tested it with spark `3.0.0-preview2`.
38+
This project does not force you to use any specific version of Spark, but it has only been tested it with spark `3.0.0`.
3939
We believe it can work with Spark `2.4.5` but we cannot guarantee that.
4040

4141
So if you're using Maven you'll have to add the following into your `pom.xml`:

Diff for: docs/quick-start-guide.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Quick Start Guide
22

33
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).
55
You'll learn what you need to set up your environment, how to write, package and execute a simple self-contained application.
66

77
Prerequisites:
88
- You need to have Java installed and have the JAVA_HOME environment variable pointing to the Java installation.
99
- 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).
1111

1212

1313
## Self-contained application
@@ -80,12 +80,12 @@ Here's what the `pom.xml` looks like for this example:
8080
<dependency> <!-- Kotlin Spark API dependency -->
8181
<groupId>com.github.JetBrains.kotlin-spark-api</groupId>
8282
<artifactId>kotlin-spark-api</artifactId>
83-
<version>0.1.0</version>
83+
<version>0.2.0</version>
8484
</dependency>
8585
<dependency> <!-- Spark dependency -->
8686
<groupId>org.apache.spark</groupId>
8787
<artifactId>spark-sql_2.12</artifactId>
88-
<version>3.0.0-preview2</version>
88+
<version>3.0.0</version>
8989
</dependency>
9090
</dependencies>
9191

@@ -171,9 +171,9 @@ dependencies {
171171
// Kotlin stdlib
172172
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.3.72'
173173
// 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'
175175
// 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'
177177
}
178178
179179
compileKotlin {

Diff for: examples/pom.xml

-8
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,6 @@
7979
</manifest>
8080
</archive>
8181
</configuration>
82-
<executions>
83-
<execution>
84-
<phase>package</phase>
85-
<goals>
86-
<goal>single</goal>
87-
</goals>
88-
</execution>
89-
</executions>
9082
</plugin>
9183
</plugins>
9284
</build>

0 commit comments

Comments
 (0)