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-44916][DOCS][TESTS] Document Spark Driver Live Log UI #42615

Closed
wants to merge 1 commit into from

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Aug 22, 2023

What changes were proposed in this pull request?

This PR aims to document Spark Driver Live Log UI. In addition, this PR fixed a test case to clean up the test directory properly.

Why are the changes needed?

To help a user to use this feature easily, especially in K8s environment.

1. Spark Configuration page
Screenshot 2023-08-22 at 1 48 27 PM

2. Running Spark on Kubernetes page
Screenshot 2023-08-22 at 1 48 46 PM

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Manual review.

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

No.

assert(DriverLogger(sparkConf.set(DRIVER_LOG_LOCAL_DIR, "file://tmp/")).isEmpty)
withTempDir { dir =>
assert(DriverLogger(sparkConf.set(DRIVER_LOG_LOCAL_DIR, dir.getCanonicalPath)).isEmpty)
}
Copy link
Member Author

Choose a reason for hiding this comment

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

I piggy-backed this to clean up the generated log directory properly.

@dongjoon-hyun
Copy link
Member Author

Could you review this PR, @viirya ?

@dongjoon-hyun
Copy link
Member Author

Thank you, @viirya !

@dongjoon-hyun
Copy link
Member Author

Merged to master for Apache Spark 4.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-44916 branch August 22, 2023 21:04
valentinp17 pushed a commit to valentinp17/spark that referenced this pull request Aug 24, 2023
### What changes were proposed in this pull request?

This PR aims to document `Spark Driver Live Log UI`. In addition, this PR fixed a test case to clean up the test directory properly.

### Why are the changes needed?

To help a user to use this feature easily, especially in K8s environment.

**1. `Spark Configuration` page**
![Screenshot 2023-08-22 at 1 48 27 PM](https://github.com/apache/spark/assets/9700541/cccbbdb4-9bde-43bc-af0c-8b182436c4bb)

**2. `Running Spark on Kubernetes` page**
![Screenshot 2023-08-22 at 1 48 46 PM](https://github.com/apache/spark/assets/9700541/fb186cdb-95f7-4ce5-bb57-db6d5621a50a)

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Manual review.

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

No.

Closes apache#42615 from dongjoon-hyun/SPARK-44916.

Lead-authored-by: Dongjoon Hyun <[email protected]>
Co-authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
viirya pushed a commit to viirya/spark-1 that referenced this pull request Oct 19, 2023
### What changes were proposed in this pull request?

This PR aims to document `Spark Driver Live Log UI`. In addition, this PR fixed a test case to clean up the test directory properly.

### Why are the changes needed?

To help a user to use this feature easily, especially in K8s environment.

**1. `Spark Configuration` page**
![Screenshot 2023-08-22 at 1 48 27 PM](https://github.com/apache/spark/assets/9700541/cccbbdb4-9bde-43bc-af0c-8b182436c4bb)

**2. `Running Spark on Kubernetes` page**
![Screenshot 2023-08-22 at 1 48 46 PM](https://github.com/apache/spark/assets/9700541/fb186cdb-95f7-4ce5-bb57-db6d5621a50a)

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Manual review.

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

No.

Closes apache#42615 from dongjoon-hyun/SPARK-44916.

Lead-authored-by: Dongjoon Hyun <[email protected]>
Co-authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 9b75768)
Signed-off-by: Dongjoon Hyun <[email protected]>
ragnarok56 pushed a commit to ragnarok56/spark that referenced this pull request Mar 2, 2024
### What changes were proposed in this pull request?

This PR aims to document `Spark Driver Live Log UI`. In addition, this PR fixed a test case to clean up the test directory properly.

### Why are the changes needed?

To help a user to use this feature easily, especially in K8s environment.

**1. `Spark Configuration` page**
![Screenshot 2023-08-22 at 1 48 27 PM](https://github.com/apache/spark/assets/9700541/cccbbdb4-9bde-43bc-af0c-8b182436c4bb)

**2. `Running Spark on Kubernetes` page**
![Screenshot 2023-08-22 at 1 48 46 PM](https://github.com/apache/spark/assets/9700541/fb186cdb-95f7-4ce5-bb57-db6d5621a50a)

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Manual review.

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

No.

Closes apache#42615 from dongjoon-hyun/SPARK-44916.

Lead-authored-by: Dongjoon Hyun <[email protected]>
Co-authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants