Skip to content

Conversation

@guoxiaolongzte
Copy link

What changes were proposed in this pull request?

Spark Streaming ui about the contents of the for need to have hidden and show features, when the table records very much.
please refer to #20216

fix after:
1

How was this patch tested?

(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

Please review http://spark.apache.org/contributing.html before opening a pull request.

…m need to have hidden and show features, when the table records very much.
collapseTablePageLoad('collapse-aggregated-poolActiveStages','aggregated-poolActiveStages');
collapseTablePageLoad('collapse-aggregated-tasks','aggregated-tasks');
collapseTablePageLoad('collapse-aggregated-rdds','aggregated-rdds');
collapseTablePageLoad('collapse-aggregated-activeBatches','aggregated-activeBatches');
Copy link
Member

Choose a reason for hiding this comment

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

Probably should not collapse the active batches; they are important and won't be numerous.

CC @ajbozarth

Copy link
Member

Choose a reason for hiding this comment

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

I would agree there's no reason to, but this simply enables user to if they want. And I would prefer the uniform look and feel of have all tables collapsible like the other pages.

Copy link
Member

Choose a reason for hiding this comment

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

Oh I see. This doesn't also collapse by default? I wondered because of what the name "collapseTablePageLoad" seemed to suggest. Sure, the capability is fine.

Copy link
Member

Choose a reason for hiding this comment

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

This function just makes sure to persist collapsed tables on page reload

Copy link
Member

@ajbozarth ajbozarth left a comment

Choose a reason for hiding this comment

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

LGTM, does this update make all tables in the UI collapsible now or are there still pages with non-collapsible tables?

@guoxiaolongzte
Copy link
Author

guoxiaolongzte commented Feb 13, 2018

Okay, I check the other pages again today.
I checked it, basically all the pages are fixed.

@SparkQA
Copy link

SparkQA commented Feb 13, 2018

Test build #4095 has finished for PR 20570 at commit c6ffe30.

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

@srowen
Copy link
Member

srowen commented Feb 13, 2018

Merged to master

@asfgit asfgit closed this in bd24731 Feb 13, 2018
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.

4 participants