-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ensure a spark application can only be submitted once (#460)
* fix: ensure a spark application can only be submitted once * update changelog * add doc page for app status * add callout * fix typos * Update rust/operator-binary/src/spark_k8s_controller.rs Co-authored-by: Sebastian Bernauer <[email protected]> * Update rust/operator-binary/src/spark_k8s_controller.rs Co-authored-by: Sebastian Bernauer <[email protected]> * implement review feedback * Update rust/operator-binary/src/spark_k8s_controller.rs Co-authored-by: Sebastian Bernauer <[email protected]> * Update rust/operator-binary/src/spark_k8s_controller.rs Co-authored-by: Nick <[email protected]> --------- Co-authored-by: Sebastian Bernauer <[email protected]> Co-authored-by: Nick <[email protected]>
- Loading branch information
1 parent
0a83d7b
commit 9cd61dd
Showing
5 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
docs/modules/spark-k8s/pages/usage-guide/operations/applications.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
= Spark Applications | ||
|
||
Spark applications are submitted to the Spark Operator as SparkApplication resources. These resources are used to define the configuration of the Spark job, including the image to use, the main application file, and the number of executors to start. | ||
|
||
Upon creation, the application's status set to `Unknown`. As the operator creates the necessary resources, the status of the application transitions through different phases that reflect the phase of the driver Pod. A successful application will eventually reach the `Succeeded` phase. | ||
|
||
NOTE: The operator will never reconcile an application once it has been created. To resubmit an application, a new SparkApplication resource must be created. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters