-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-40665][CONNECT] Avoid embedding Spark Connect in the Apache Spark binary release #38109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
09399e8
daa4c04
42d6612
735114e
88427a8
03bdc9c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,5 +1,4 @@ | ||||||||||||
|
|
||||||||||||
| # [EXPERIMENTAL] Spark Connect | ||||||||||||
| # Spark Connect | ||||||||||||
|
|
||||||||||||
| **Spark Connect is a strictly experimental feature and under heavy development. | ||||||||||||
| All APIs should be considered volatile and should not be used in production.** | ||||||||||||
|
|
@@ -8,30 +7,32 @@ This module contains the implementation of Spark Connect which is a logical plan | |||||||||||
| facade for the implementation in Spark. Spark Connect is directly integrated into the build | ||||||||||||
| of Spark. To enable it, you only need to activate the driver plugin for Spark Connect. | ||||||||||||
|
|
||||||||||||
|
|
||||||||||||
|
|
||||||||||||
|
|
||||||||||||
| ## Build | ||||||||||||
|
|
||||||||||||
| 1. Build Spark as usual per the documentation. | ||||||||||||
|
|
||||||||||||
| 2. Build and package the Spark Connect package | ||||||||||||
|
|
||||||||||||
| ```bash | ||||||||||||
| ./build/mvn -Phive package | ||||||||||||
| ``` | ||||||||||||
|
|
||||||||||||
| or | ||||||||||||
| ```shell | ||||||||||||
|
|
||||||||||||
| ```bash | ||||||||||||
| ./build/sbt -Phive package | ||||||||||||
| ``` | ||||||||||||
|
|
||||||||||||
| ## Run Spark Shell | ||||||||||||
|
|
||||||||||||
| ```bash | ||||||||||||
| ./bin/spark-shell --conf spark.plugins=org.apache.spark.sql.connect.SparkConnectPlugin | ||||||||||||
| ./bin/spark-shell \ | ||||||||||||
|
||||||||||||
| <dependency> <!-- necessary for Java 9+ --> | |
| <groupId>org.apache.tomcat</groupId> | |
| <artifactId>annotations-api</artifactId> | |
| <version>${tomcat.annotations.api.version}</version> | |
| <scope>provided</scope> |
From the above comments, when using Java 9+, annotations-api-6.0.53.jar is required. Are the corresponding startup commands different? Now annotations-api-6.0.53.jar is neither in Spark's jars directory nor shaded to connect-assembly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably put into connect-assembly but let's set up the tests first, and fix it together.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
This file was deleted.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.