Skip to content

Conversation

@shahidki31
Copy link
Contributor

@shahidki31 shahidki31 commented Jun 12, 2021

What changes were proposed in this pull request?

Task id is given incorrect in the timeline plot in Stage Page

Why are the changes needed?

Map event timeline plots to correct task
Before:
image

After
image

Does this PR introduce any user-facing change?

No

How was this patch tested?

Manually tested

@shahidki31 shahidki31 changed the title [SPARK-35746][UI] Fix taskid in stage page task event timeline [SPARK-35746][UI] Fix taskid in the stage page task event timeline Jun 12, 2021
@shahidki31
Copy link
Contributor Author

cc @srowen @maropu Kindly review

Copy link
Member

@srowen srowen left a comment

Choose a reason for hiding this comment

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

LGTM pending tests.

@SparkQA
Copy link

SparkQA commented Jun 12, 2021

Test build #139721 has finished for PR 32888 at commit 1c39d44.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@shahidki31
Copy link
Contributor Author

Retest this please

@SparkQA
Copy link

SparkQA commented Jun 12, 2021

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44246/

@SparkQA
Copy link

SparkQA commented Jun 12, 2021

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44248/

@SparkQA
Copy link

SparkQA commented Jun 12, 2021

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44246/

@SparkQA
Copy link

SparkQA commented Jun 12, 2021

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44248/

@SparkQA
Copy link

SparkQA commented Jun 12, 2021

Test build #139723 has finished for PR 32888 at commit 1c39d44.

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

@sarutak sarutak closed this in 450b415 Jun 12, 2021
sarutak pushed a commit that referenced this pull request Jun 12, 2021
### What changes were proposed in this pull request?
Task id is given incorrect in the timeline plot in Stage Page

### Why are the changes needed?
Map event timeline plots to correct task
**Before:**
![image](https://user-images.githubusercontent.com/23054875/121761077-81775800-cb4b-11eb-8ec6-ee71926a6549.png)

**After**
![image](https://user-images.githubusercontent.com/23054875/121761195-02ceea80-cb4c-11eb-8ce6-07bb1cca190e.png)
### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

Manually tested

Closes #32888 from shahidki31/shahid/fixtaskid.

Authored-by: shahid <[email protected]>
Signed-off-by: Kousuke Saruta <[email protected]>
(cherry picked from commit 450b415)
Signed-off-by: Kousuke Saruta <[email protected]>
sarutak pushed a commit that referenced this pull request Jun 12, 2021
### What changes were proposed in this pull request?
Task id is given incorrect in the timeline plot in Stage Page

### Why are the changes needed?
Map event timeline plots to correct task
**Before:**
![image](https://user-images.githubusercontent.com/23054875/121761077-81775800-cb4b-11eb-8ec6-ee71926a6549.png)

**After**
![image](https://user-images.githubusercontent.com/23054875/121761195-02ceea80-cb4c-11eb-8ce6-07bb1cca190e.png)
### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

Manually tested

Closes #32888 from shahidki31/shahid/fixtaskid.

Authored-by: shahid <[email protected]>
Signed-off-by: Kousuke Saruta <[email protected]>
(cherry picked from commit 450b415)
Signed-off-by: Kousuke Saruta <[email protected]>
@sarutak
Copy link
Member

sarutak commented Jun 12, 2021

Merged to master, branch-3.1 and branch-3.0. Thanks!

@shahidki31
Copy link
Contributor Author

Thanks @sarutak , @srowen for the reviews

@shahidki31 shahidki31 deleted the shahid/fixtaskid branch June 12, 2021 09:58
flyrain pushed a commit to flyrain/spark that referenced this pull request Sep 21, 2021
### What changes were proposed in this pull request?
Task id is given incorrect in the timeline plot in Stage Page

### Why are the changes needed?
Map event timeline plots to correct task
**Before:**
![image](https://user-images.githubusercontent.com/23054875/121761077-81775800-cb4b-11eb-8ec6-ee71926a6549.png)

**After**
![image](https://user-images.githubusercontent.com/23054875/121761195-02ceea80-cb4c-11eb-8ce6-07bb1cca190e.png)
### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

Manually tested

Closes apache#32888 from shahidki31/shahid/fixtaskid.

Authored-by: shahid <[email protected]>
Signed-off-by: Kousuke Saruta <[email protected]>
(cherry picked from commit 450b415)
Signed-off-by: Kousuke Saruta <[email protected]>
@jackylee-ch
Copy link
Contributor

jackylee-ch commented Jan 10, 2022

Hm, why we change taskIndex.attemptId to taskId.attempt? @shahidki31 @srowen @sarutak
It seems we should either use Task 0 (attempt 0) or Task 100, not the Task 100 (attempt 0).

@jackylee-ch
Copy link
Contributor

Shall we revert this?

sarutak pushed a commit that referenced this pull request Jan 11, 2022
### What changes were proposed in this pull request?
This reverts commit 450b415.

### Why are the changes needed?
In #32888, shahidki31 change taskInfo.index to taskInfo.taskId. However, we generally use `index.attempt` or `taskId` to distinguish tasks within a stage, not `taskId.attempt`.
Thus #32888 was a wrong fix issue, we should revert it.

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

### How was this patch tested?
origin test suites

Closes #35160 from stczwd/SPARK-37860.

Authored-by: stczwd <[email protected]>
Signed-off-by: Kousuke Saruta <[email protected]>
sarutak pushed a commit that referenced this pull request Jan 11, 2022
### What changes were proposed in this pull request?
This reverts commit 450b415.

### Why are the changes needed?
In #32888, shahidki31 change taskInfo.index to taskInfo.taskId. However, we generally use `index.attempt` or `taskId` to distinguish tasks within a stage, not `taskId.attempt`.
Thus #32888 was a wrong fix issue, we should revert it.

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

### How was this patch tested?
origin test suites

Closes #35160 from stczwd/SPARK-37860.

Authored-by: stczwd <[email protected]>
Signed-off-by: Kousuke Saruta <[email protected]>
(cherry picked from commit 3d2fde5)
Signed-off-by: Kousuke Saruta <[email protected]>
sarutak pushed a commit that referenced this pull request Jan 11, 2022
### What changes were proposed in this pull request?
This reverts commit 450b415.

### Why are the changes needed?
In #32888, shahidki31 change taskInfo.index to taskInfo.taskId. However, we generally use `index.attempt` or `taskId` to distinguish tasks within a stage, not `taskId.attempt`.
Thus #32888 was a wrong fix issue, we should revert it.

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

### How was this patch tested?
origin test suites

Closes #35160 from stczwd/SPARK-37860.

Authored-by: stczwd <[email protected]>
Signed-off-by: Kousuke Saruta <[email protected]>
(cherry picked from commit 3d2fde5)
Signed-off-by: Kousuke Saruta <[email protected]>
sarutak pushed a commit that referenced this pull request Jan 11, 2022
### What changes were proposed in this pull request?
This reverts commit 450b415.

### Why are the changes needed?
In #32888, shahidki31 change taskInfo.index to taskInfo.taskId. However, we generally use `index.attempt` or `taskId` to distinguish tasks within a stage, not `taskId.attempt`.
Thus #32888 was a wrong fix issue, we should revert it.

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

### How was this patch tested?
origin test suites

Closes #35160 from stczwd/SPARK-37860.

Authored-by: stczwd <[email protected]>
Signed-off-by: Kousuke Saruta <[email protected]>
(cherry picked from commit 3d2fde5)
Signed-off-by: Kousuke Saruta <[email protected]>
fishcus pushed a commit to fishcus/spark that referenced this pull request Jan 12, 2022
### What changes were proposed in this pull request?
Task id is given incorrect in the timeline plot in Stage Page

### Why are the changes needed?
Map event timeline plots to correct task
**Before:**
![image](https://user-images.githubusercontent.com/23054875/121761077-81775800-cb4b-11eb-8ec6-ee71926a6549.png)

**After**
![image](https://user-images.githubusercontent.com/23054875/121761195-02ceea80-cb4c-11eb-8ce6-07bb1cca190e.png)
### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

Manually tested

Closes apache#32888 from shahidki31/shahid/fixtaskid.

Authored-by: shahid <[email protected]>
Signed-off-by: Kousuke Saruta <[email protected]>
(cherry picked from commit 450b415)
Signed-off-by: Kousuke Saruta <[email protected]>
fishcus pushed a commit to fishcus/spark that referenced this pull request Jan 12, 2022
### What changes were proposed in this pull request?
This reverts commit 450b415.

### Why are the changes needed?
In apache#32888, shahidki31 change taskInfo.index to taskInfo.taskId. However, we generally use `index.attempt` or `taskId` to distinguish tasks within a stage, not `taskId.attempt`.
Thus apache#32888 was a wrong fix issue, we should revert it.

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

### How was this patch tested?
origin test suites

Closes apache#35160 from stczwd/SPARK-37860.

Authored-by: stczwd <[email protected]>
Signed-off-by: Kousuke Saruta <[email protected]>
(cherry picked from commit 3d2fde5)
Signed-off-by: Kousuke Saruta <[email protected]>
dchvn pushed a commit to dchvn/spark that referenced this pull request Jan 19, 2022
### What changes were proposed in this pull request?
This reverts commit 450b415.

### Why are the changes needed?
In apache#32888, shahidki31 change taskInfo.index to taskInfo.taskId. However, we generally use `index.attempt` or `taskId` to distinguish tasks within a stage, not `taskId.attempt`.
Thus apache#32888 was a wrong fix issue, we should revert it.

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

### How was this patch tested?
origin test suites

Closes apache#35160 from stczwd/SPARK-37860.

Authored-by: stczwd <[email protected]>
Signed-off-by: Kousuke Saruta <[email protected]>
catalinii pushed a commit to lyft/spark that referenced this pull request Feb 22, 2022
### What changes were proposed in this pull request?
This reverts commit 450b415.

### Why are the changes needed?
In apache#32888, shahidki31 change taskInfo.index to taskInfo.taskId. However, we generally use `index.attempt` or `taskId` to distinguish tasks within a stage, not `taskId.attempt`.
Thus apache#32888 was a wrong fix issue, we should revert it.

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

### How was this patch tested?
origin test suites

Closes apache#35160 from stczwd/SPARK-37860.

Authored-by: stczwd <[email protected]>
Signed-off-by: Kousuke Saruta <[email protected]>
(cherry picked from commit 3d2fde5)
Signed-off-by: Kousuke Saruta <[email protected]>
catalinii pushed a commit to lyft/spark that referenced this pull request Mar 4, 2022
### What changes were proposed in this pull request?
This reverts commit 450b415.

### Why are the changes needed?
In apache#32888, shahidki31 change taskInfo.index to taskInfo.taskId. However, we generally use `index.attempt` or `taskId` to distinguish tasks within a stage, not `taskId.attempt`.
Thus apache#32888 was a wrong fix issue, we should revert it.

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

### How was this patch tested?
origin test suites

Closes apache#35160 from stczwd/SPARK-37860.

Authored-by: stczwd <[email protected]>
Signed-off-by: Kousuke Saruta <[email protected]>
(cherry picked from commit 3d2fde5)
Signed-off-by: Kousuke Saruta <[email protected]>
kazuyukitanimura pushed a commit to kazuyukitanimura/spark that referenced this pull request Aug 10, 2022
### What changes were proposed in this pull request?
This reverts commit 450b415.

### Why are the changes needed?
In apache#32888, shahidki31 change taskInfo.index to taskInfo.taskId. However, we generally use `index.attempt` or `taskId` to distinguish tasks within a stage, not `taskId.attempt`.
Thus apache#32888 was a wrong fix issue, we should revert it.

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

### How was this patch tested?
origin test suites

Closes apache#35160 from stczwd/SPARK-37860.

Authored-by: stczwd <[email protected]>
Signed-off-by: Kousuke Saruta <[email protected]>
(cherry picked from commit 3d2fde5)
Signed-off-by: Kousuke Saruta <[email protected]>
(cherry picked from commit db1023c)
Signed-off-by: Dongjoon Hyun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants