Skip to content
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

[SPARK-46095][DOCS] Document REST API for Spark Standalone Cluster #44007

Closed
wants to merge 2 commits into from

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Nov 25, 2023

What changes were proposed in this pull request?

This PR aims to document REST API for Spark Standalone Cluster.

Why are the changes needed?

To help the users to understand Apache Spark features.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Manual review. REST API Section is added newly.

AFTER

Screenshot 2023-11-24 at 4 13 53 PM

Was this patch authored or co-authored using generative AI tooling?

No.

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-46095][DOCS] Document REST API for Spark Standalone Cluster [SPARK-46095][DOCS] Document REST API for Spark Standalone Cluster Nov 25, 2023
@github-actions github-actions bot added the DOCS label Nov 25, 2023
@dongjoon-hyun
Copy link
Member Author

Could you review this documentation PR, @HyukjinKwon ?


The following is a <code>curl</code> CLI command example with the `pi.py` and REST API.

{% highlight bash %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no bigdeal but we can actually just use:

```bash

...

```


The following is the response from the REST API for the above <code>create</code> request.

{% highlight bash %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and

```

...

```

@@ -518,6 +518,8 @@ Spark applications supports the following configuration properties specific to s

# Launching Spark Applications

## Spark protocol
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Spark protocol
## Spark Protocol

@dongjoon-hyun
Copy link
Member Author

dongjoon-hyun commented Nov 25, 2023

Thank you. I addressed the comments and verified the result manually.
Merged to master/3.5 (revised)/3.4 (revised)/3.3 (revised).

dongjoon-hyun added a commit that referenced this pull request Nov 25, 2023
This PR aims to document `REST API` for Spark Standalone Cluster.

To help the users to understand Apache Spark features.

No.

Manual review. `REST API` Section is added newly.

**AFTER**

<img width="704" alt="Screenshot 2023-11-24 at 4 13 53 PM" src="https://github.com/apache/spark/assets/9700541/a4e09d94-d216-4629-8b37-9d350365a428">

No.

Closes #44007 from dongjoon-hyun/SPARK-46095.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
dongjoon-hyun added a commit that referenced this pull request Nov 25, 2023
This PR aims to document `REST API` for Spark Standalone Cluster.

To help the users to understand Apache Spark features.

No.

Manual review. `REST API` Section is added newly.

**AFTER**

<img width="704" alt="Screenshot 2023-11-24 at 4 13 53 PM" src="https://github.com/apache/spark/assets/9700541/a4e09d94-d216-4629-8b37-9d350365a428">

No.

Closes #44007 from dongjoon-hyun/SPARK-46095.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
(cherry picked from commit 132c1a1)
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
@dongjoon-hyun dongjoon-hyun deleted the SPARK-46095 branch November 25, 2023 01:42
dongjoon-hyun added a commit that referenced this pull request Nov 25, 2023
This PR aims to document `REST API` for Spark Standalone Cluster.

To help the users to understand Apache Spark features.

No.

Manual review. `REST API` Section is added newly.

**AFTER**

<img width="704" alt="Screenshot 2023-11-24 at 4 13 53 PM" src="https://github.com/apache/spark/assets/9700541/a4e09d94-d216-4629-8b37-9d350365a428">

No.

Closes #44007 from dongjoon-hyun/SPARK-46095.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
(cherry picked from commit 132c1a1)
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
(cherry picked from commit 03dac18)
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
szehon-ho pushed a commit to szehon-ho/spark that referenced this pull request Feb 7, 2024
This PR aims to document `REST API` for Spark Standalone Cluster.

To help the users to understand Apache Spark features.

No.

Manual review. `REST API` Section is added newly.

**AFTER**

<img width="704" alt="Screenshot 2023-11-24 at 4 13 53 PM" src="https://github.com/apache/spark/assets/9700541/a4e09d94-d216-4629-8b37-9d350365a428">

No.

Closes apache#44007 from dongjoon-hyun/SPARK-46095.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
(cherry picked from commit 132c1a1)
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants