Skip to content

Conversation

@xccui
Copy link
Member

@xccui xccui commented May 22, 2020

What changes were proposed in this pull request?

This PR adds the structured streaming UI introduction to the Web UI doc.

image

Why are the changes needed?

The structured streaming web UI introduced before was missing from the Web UI documentation.

Does this PR introduce any user-facing change?

No

How was this patch tested?

N.A.

Copy link
Contributor

@HeartSaVioR HeartSaVioR left a comment

Choose a reason for hiding this comment

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

LGTM

@xccui
Copy link
Member Author

xccui commented May 22, 2020

@gatorsmile, please take a look when it's convenient for you.

@HyukjinKwon
Copy link
Member

ok to test

@HyukjinKwon
Copy link
Member

cc @xuanyuanking FYI

@SparkQA
Copy link

SparkQA commented May 24, 2020

Test build #123046 has finished for PR 28609 at commit c2304ed.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Copy link
Member

@xuanyuanking xuanyuanking left a comment

Choose a reason for hiding this comment

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

Thanks Xingcan for the document! Also cc @uncleGen

docs/web-ui.md Outdated
</p>

The statistics page displays some useful metrics (e.g., how many records received per second and
the time used for different stages of a micro-batch execution) for insight into the status of your
Copy link
Member

Choose a reason for hiding this comment

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

How about adding a section for the metrics in operation duration histogram?

Copy link
Contributor

Choose a reason for hiding this comment

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

+1, we can also give some information for each metrics, like:

  • Input Rate: The aggregate (across all sources) rate of data arriving.
  • Process Rate: The aggregate (across all sources) rate at which Spark is processing data.
  • Input Rows: The aggregate (across all sources) number of records processed in a trigger.
  • Batch Duration: The process duration of each batch.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sounds good. I'll add a list of metrics.

docs/web-ui.md Outdated
## Structured Streaming Tab
When running Structured Streaming jobs in micro-batch mode, a Structured Streaming tab will be
available on the Web UI. You can check the statistics of a running query or a completed query
via clicking a run id on the Streaming Query overview page.
Copy link
Member

Choose a reason for hiding this comment

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

We can also check the latest exception for the failed query.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, sorry for missing this part. I'll add this.

@xccui
Copy link
Member Author

xccui commented May 25, 2020

@xuanyuanking @uncleGen Thanks for your feedback. I've added the requested parts. Please take a look. Thanks.

screen

@SparkQA
Copy link

SparkQA commented May 25, 2020

Test build #123100 has finished for PR 28609 at commit 2350903.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Copy link
Member

@xuanyuanking xuanyuanking left a comment

Choose a reason for hiding this comment

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

LGTM, thanks Xingcan for the changes! cc @HyukjinKwon @gatorsmile
Let's change the title to "[SPARK-31792][SS][DOCS] ..."

@xccui xccui changed the title [SPARK-31792][DOCS] Introduce the structured streaming UI in the Web UI doc [SPARK-31792][SS][DOCS] Introduce the structured streaming UI in the Web UI doc May 26, 2020
@HyukjinKwon
Copy link
Member

Merged to master and branch-3.0.

HyukjinKwon pushed a commit that referenced this pull request May 26, 2020
…Web UI doc

### What changes were proposed in this pull request?
This PR adds the structured streaming UI introduction to the Web UI doc.

![image](https://user-images.githubusercontent.com/1452518/82642209-92b99380-9bdb-11ea-9a0d-cbb26040b0ef.png)

### Why are the changes needed?
The structured streaming web UI introduced before was missing from the Web UI documentation.

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

### How was this patch tested?
N.A.

Closes #28609 from xccui/ss-ui-doc.

Authored-by: Xingcan Cui <[email protected]>
Signed-off-by: HyukjinKwon <[email protected]>
(cherry picked from commit 8ba2b47)
Signed-off-by: HyukjinKwon <[email protected]>
@xccui xccui deleted the ss-ui-doc branch May 26, 2020 19:30
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