-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-44490][WEBUI] Remove unused TaskPagedTable in StagePage
#42085
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
Conversation
|
@LuciferYang Please help to review, thanks. |
|
also cc @yaooqinn FYI |
|
Could you please attach one or more screenshots in the description? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. It's reasonable to avoid the calsulation if the timeline feature is disabled.
|
@cxzl25 Could you attach another screenshot showing a task table which consists of multiple pages to verify it works with pagenation? |
|
Hi @cxzl25, would you please rebase the master branch? |
sarutak
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pending GA.
TaskPagedTable in StagePageTaskPagedTable in StagePage
|
Merging to |
…eSuite.scala` ### What changes were proposed in this pull request? This pr removes a test file `StagePageSuite.scala` that is no longer needed. ### Why are the changes needed? The current `StagePageSuite.scala` contains one test case and one private method. The reasons for cleaning them up are as follows: 1. The assertion in the test case "ApiHelper.COLUMN_TO_INDEX should match headers of the task table" was cleaned up in SPARK-44490 | #42085. Currently, this test case only creates a `StageData` object and an `AppStatusStore` object, with no other operations or assertions. Moreover, the creation of these objects is also covered in other test cases, such as `KVStoreProtobufSerializerSuite`, `AppStatusStoreSuite`, etc. Therefore, this is already an unnecessary test case and can be cleaned up. 2. The private method `renderStagePage` has not been used since SPARK-21809 | #21688, so it can be cleaned up. After cleaning up the above content, `StagePageSuite.scala` becomes an empty file, so it can be completely deleted. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Pass GitHub Actions ### Was this patch authored or co-authored using generative AI tooling? No Closes #49721 from LuciferYang/SPARK-51026. Authored-by: yangjie01 <yangjie01@baidu.com> Signed-off-by: yangjie01 <yangjie01@baidu.com>
…eSuite.scala` ### What changes were proposed in this pull request? This pr removes a test file `StagePageSuite.scala` that is no longer needed. ### Why are the changes needed? The current `StagePageSuite.scala` contains one test case and one private method. The reasons for cleaning them up are as follows: 1. The assertion in the test case "ApiHelper.COLUMN_TO_INDEX should match headers of the task table" was cleaned up in SPARK-44490 | #42085. Currently, this test case only creates a `StageData` object and an `AppStatusStore` object, with no other operations or assertions. Moreover, the creation of these objects is also covered in other test cases, such as `KVStoreProtobufSerializerSuite`, `AppStatusStoreSuite`, etc. Therefore, this is already an unnecessary test case and can be cleaned up. 2. The private method `renderStagePage` has not been used since SPARK-21809 | #21688, so it can be cleaned up. After cleaning up the above content, `StagePageSuite.scala` becomes an empty file, so it can be completely deleted. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Pass GitHub Actions ### Was this patch authored or co-authored using generative AI tooling? No Closes #49721 from LuciferYang/SPARK-51026. Authored-by: yangjie01 <yangjie01@baidu.com> Signed-off-by: yangjie01 <yangjie01@baidu.com> (cherry picked from commit 3badfd2) Signed-off-by: yangjie01 <yangjie01@baidu.com>
…eSuite.scala` ### What changes were proposed in this pull request? This pr removes a test file `StagePageSuite.scala` that is no longer needed. ### Why are the changes needed? The current `StagePageSuite.scala` contains one test case and one private method. The reasons for cleaning them up are as follows: 1. The assertion in the test case "ApiHelper.COLUMN_TO_INDEX should match headers of the task table" was cleaned up in SPARK-44490 | apache#42085. Currently, this test case only creates a `StageData` object and an `AppStatusStore` object, with no other operations or assertions. Moreover, the creation of these objects is also covered in other test cases, such as `KVStoreProtobufSerializerSuite`, `AppStatusStoreSuite`, etc. Therefore, this is already an unnecessary test case and can be cleaned up. 2. The private method `renderStagePage` has not been used since SPARK-21809 | apache#21688, so it can be cleaned up. After cleaning up the above content, `StagePageSuite.scala` becomes an empty file, so it can be completely deleted. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Pass GitHub Actions ### Was this patch authored or co-authored using generative AI tooling? No Closes apache#49721 from LuciferYang/SPARK-51026. Authored-by: yangjie01 <yangjie01@baidu.com> Signed-off-by: yangjie01 <yangjie01@baidu.com> (cherry picked from commit fb742ff) Signed-off-by: yangjie01 <yangjie01@baidu.com>


What changes were proposed in this pull request?
Remove
TaskPagedTableWhy are the changes needed?
In SPARK-21809, we introduced
stagespage-template.htmlto show the running status of Stage.TaskPagedTableis no longer effective, but there are still many PRs updating related codes.Does this PR introduce any user-facing change?
No
How was this patch tested?
local test