-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-32125][UI] Support get taskList by status in Web UI and SHS Rest API #28942
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
|
Hi @warrenzhu25 , thank you for your contribution. |
Added UT, but it seems doc build failed. It seems unrelated with my change. |
|
ok to test. |
|
cc: @squito |
|
Test build #124655 has finished for PR 28942 at commit
|
|
retest this please. |
|
Test build #124714 has finished for PR 28942 at commit
|
| @DefaultValue("ID") @QueryParam("sortBy") sortBy: TaskSorting): Seq[TaskData] = { | ||
| withUI(_.store.taskList(stageId, stageAttemptId, offset, length, sortBy)) | ||
| @DefaultValue("ID") @QueryParam("sortBy") sortBy: TaskSorting, | ||
| @QueryParam("status") statuses: JList[TaskStatus]): Seq[TaskData] = { |
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.
Why do we need to make it as JList here? How about just TaskStatus?
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.
Ok, I'm also considering using TaskStatus. The reason I use JList is to make it consistent with stageList as below:
@GET
def stageList(@QueryParam("status") statuses: JList[StageStatus]): Seq[StageData] = {
withUI(_.store.stageList(statuses))
}
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.
Oh, sorry I was not aware of this. Please change it back to JList to make it consistent.
|
Test build #124801 has finished for PR 28942 at commit
|
…request parameter" This reverts commit 2f55b82.
|
Test build #124833 has finished for PR 28942 at commit
|
|
retest this please. |
|
Jenkins will restart around 0:00 PDT so we'll need to let Jenkins run again. |
|
Test build #124868 has finished for PR 28942 at commit
|
|
retest this please. |
|
Test build #124876 has finished for PR 28942 at commit
|
|
retest this please. |
|
Test build #124879 has finished for PR 28942 at commit
|
|
retest this please. |
|
Test build #124881 has finished for PR 28942 at commit
|
|
All the dependency failure happens on jenkins-worker4. |
|
I've reported the .m2 corruption issue (https://issues.apache.org/jira/browse/SPARK-32153#). |
|
retest this please. |
|
Test build #124885 has finished for PR 28942 at commit
|
|
retest this please. |
|
Test build #125114 has finished for PR 28942 at commit
|
|
retest this please. |
|
Test build #125117 has finished for PR 28942 at commit
|
|
retest this please. |
1 similar comment
|
retest this please. |
|
Test build #125777 has finished for PR 28942 at commit
|
|
@gengliangwang Tests passed, could you help merge this? |
|
Thanks, merging to master |
What changes were proposed in this pull request?
Support fetching taskList by status as below:
Why are the changes needed?
When there're large number of tasks in one stage, current api is hard to get taskList by status
Does this PR introduce any user-facing change?
Yes. Updated monitoring doc.
How was this patch tested?
Added tests in
HistoryServerSuite