Skip to content

Conversation

@panbingkun
Copy link
Contributor

@panbingkun panbingkun commented Dec 30, 2023

What changes were proposed in this pull request?

The pr aims to fix the formatting of tables in running-on-yarn pages.

Why are the changes needed?

Make the tables on the page display normally.
Before:
image

After:
image

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Manually check.

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

No.

@github-actions github-actions bot added the DOCS label Dec 30, 2023
@panbingkun
Copy link
Contributor Author

@panbingkun
Copy link
Contributor Author

@nchammas
Copy link
Contributor

nchammas commented Dec 30, 2023

I think a better approach to fixing the styling of tables is to assign them to a class and then define the appropriate rules in custom.css. It will be much simpler and more robust than manually massaging the contents of each cell.

I was planning to do this as a follow-up to #44300 if it gets approved, but feel free obviously to try that here if you agree.

@bjornjorgensen
Copy link
Contributor

There are actually more places where this issue are. Like in GROUP BY Clause for spark 3.5
where is looks like this
image

@panbingkun
Copy link
Contributor Author

I will define a style in the file custom.css and try it out.

@yaooqinn
Copy link
Member

yaooqinn commented Jan 2, 2024

Hi @panbingkun, the scrollbar has been fixed. FYI,#44423

@panbingkun
Copy link
Contributor Author

panbingkun commented Jan 2, 2024

Hi @panbingkun, the scrollbar has been fixed. FYI,#44423

@yaooqinn
Okay, but I generated a document with the latest code a few days ago, and the table format seems to be incorrect.

@panbingkun
Copy link
Contributor Author

Hi @panbingkun, the scrollbar has been fixed. FYI,#44423

@yaooqinn Okay, but I generated a document with the latest code a few days ago, and the table format seems to be incorrect.

@yaooqinn
Indeed, I just checked again and the master's logic is now scrollable.
But I found another issue, I will reuse this PR and modify the following issue:

image

…on-kubernetes` and `running-on-yarn` pages"

This reverts commit 674496d.
@panbingkun panbingkun changed the title [SPARK-46546][DOCS] Fix the formatting of tables in running-on-kubernetes and running-on-yarn pages [SPARK-46546][DOCS] Fix the formatting of tables in running-on-yarn pages Jan 3, 2024
@yaooqinn
Copy link
Member

yaooqinn commented Jan 3, 2024

@panbingkun, thank you for the double check

initialization. This prevents application failures caused by running containers on
NodeManagers where the Spark Shuffle Service is not running.
</td>
<td></td>
Copy link
Member

Choose a reason for hiding this comment

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

Please ensure that the value is fulfilled.

Copy link
Contributor

Choose a reason for hiding this comment

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

+1

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, let me find the versions of each option.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

<thead><tr><th>Property Name</th><th>Default</th><th>Meaning</th></tr></thead>
<thead><tr><th>Property Name</th><th>Default</th><th>Meaning</th><th>Since Version</th></tr></thead>
<tr>
<td><code>spark.yarn.shuffle.stopOnFailure</code></td>
Copy link
Contributor Author

@panbingkun panbingkun Jan 3, 2024

Choose a reason for hiding this comment

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

<td></td>
</tr>
<tr>
<td><code>spark.yarn.shuffle.service.metrics.namespace</code></td>
Copy link
Contributor Author

@panbingkun panbingkun Jan 3, 2024

Choose a reason for hiding this comment

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

<td></td>
</tr>
<tr>
<td><code>spark.yarn.shuffle.service.logs.namespace</code></td>
Copy link
Contributor Author

@panbingkun panbingkun Jan 3, 2024

Choose a reason for hiding this comment

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

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Merged to master/3.5.

dongjoon-hyun pushed a commit that referenced this pull request Jan 3, 2024
… pages

### What changes were proposed in this pull request?
The pr aims to fix the formatting of tables in `running-on-yarn` pages.

### Why are the changes needed?
Make the tables on the page display normally.
Before:
<img width="1288" alt="image" src="https://github.com/apache/spark/assets/15246973/26facec4-d805-4549-a640-120c499bd7fd">

After:
<img width="1310" alt="image" src="https://github.com/apache/spark/assets/15246973/cf6c20ef-a4ce-4532-9acd-ab9cec41881a">

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

### How was this patch tested?
Manually check.

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

Closes #44540 from panbingkun/SPARK-46546.

Authored-by: panbingkun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 85b44cc)
Signed-off-by: Dongjoon Hyun <[email protected]>
@dongjoon-hyun
Copy link
Member

Thank you, @panbingkun and all.

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.

6 participants