Skip to content

Choose two branches to see what’s changed or to start a new pull request.[SPARK-30119][WEBUI] Add Pagination Support to Streaming Page#778

Merged
GulajavaMinistudio merged 1 commit intoGulajavaMinistudio:masterfrom
apache:master
Jun 7, 2020

Conversation

@GulajavaMinistudio
Copy link
Copy Markdown
Owner

What changes were proposed in this pull request?

  • Pagination Support is added to all tables of streaming page in spark web UI.
    For adding pagination support, existing classes from [SPARK-4598][WebUI]Task table pagination for the Stage page apache/spark#7399 were used.
  • Earlier streaming page has two tables Active Batches and Completed Batches. Now, we will have three tables Running Batches, Waiting Batches and Completed Batches. If we have large number of waiting and running batches then keeping track in a single table is difficult. Also other pages have different table for different type type of data.
  • Earlier empty tables were shown. Now only non-empty tables will be shown.
    Active Batches table used to show details of waiting batches followed by running batches.

Why are the changes needed?

Pagination will allow users to analyse the table in much better way. All spark web UI pages support pagination apart from streaming pages, so this will add consistency as well. Also it might fix the potential OOM errors that can arise.

Does this PR introduce any user-facing change?

Yes. Active Batches table is split into two tables Running Batches and Waiting Batches. Pagination Support is added to the all the tables. Every other functionality is unchanged.

How was this patch tested?

Manually.

Before changes:
Screenshot 2020-05-03 at 7 07 14 PM

After Changes:
Screenshot 2020-05-03 at 6 51 22 PM

Closes apache#28439 from iRakson/streamingPagination.

Authored-by: iRakson raksonrakesh@gmail.com
Signed-off-by: Kousuke Saruta sarutak@oss.nttdata.com

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

### What changes were proposed in this pull request?
* Pagination Support is added to all tables of streaming page in spark web UI.
For adding pagination support, existing classes from #7399 were used.
* Earlier streaming page has two tables `Active Batches` and `Completed Batches`. Now, we will have three tables `Running Batches`, `Waiting Batches` and `Completed Batches`. If we have large number of waiting and running batches then keeping track in a single table is difficult. Also other pages have different table for different type type of data.
* Earlier empty tables were shown. Now only non-empty tables will be shown.
`Active Batches` table used to show details of waiting batches followed by running batches.

### Why are the changes needed?
Pagination will allow users to analyse the table in much better way. All spark web UI pages support pagination apart from streaming pages, so this will add consistency as well. Also it might fix the potential OOM errors that can arise.

### Does this PR introduce _any_ user-facing change?
Yes. `Active Batches` table is split into two tables `Running Batches` and `Waiting Batches`. Pagination Support is added to the all the tables. Every other functionality is unchanged.

### How was this patch tested?
Manually.

Before changes:
<img width="1667" alt="Screenshot 2020-05-03 at 7 07 14 PM" src="https://user-images.githubusercontent.com/15366835/80915680-8fb44b80-8d71-11ea-9957-c4a3769b8b67.png">

After Changes:
<img width="1669" alt="Screenshot 2020-05-03 at 6 51 22 PM" src="https://user-images.githubusercontent.com/15366835/80915694-a9ee2980-8d71-11ea-8fc5-246413a4951d.png">

Closes #28439 from iRakson/streamingPagination.

Authored-by: iRakson <raksonrakesh@gmail.com>
Signed-off-by: Kousuke Saruta <sarutak@oss.nttdata.com>
@GulajavaMinistudio GulajavaMinistudio merged commit 6befeec into GulajavaMinistudio:master Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants