Skip to content

Conversation

@rxin
Copy link
Contributor

@rxin rxin commented Nov 29, 2018

What changes were proposed in this pull request?

This patch changes the query plan tracker added earlier to report phase timeline, rather than just a duration for each phase. This way, we can easily find time that's unaccounted for.

How was this patch tested?

Updated test cases to reflect that.

@rxin
Copy link
Contributor Author

rxin commented Nov 29, 2018

cc @hvanhovell @gatorsmile

@SparkQA
Copy link

SparkQA commented Nov 29, 2018

Test build #99479 has finished for PR 23183 at commit b117a83.

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

@SparkQA
Copy link

SparkQA commented Nov 30, 2018

Test build #99481 has finished for PR 23183 at commit 7f12954.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Nov 30, 2018

Test build #99487 has finished for PR 23183 at commit 9c940ae.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Nov 30, 2018

Test build #99500 has finished for PR 23183 at commit 5f5a0e8.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@mgaido91
Copy link
Contributor

retest this please

@SparkQA
Copy link

SparkQA commented Nov 30, 2018

Test build #99503 has finished for PR 23183 at commit 5f5a0e8.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Nov 30, 2018

Test build #99516 has finished for PR 23183 at commit eb7d194.

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

def durationMs: Long = endTimeMs - startTimeMs

override def toString: String = {
s"PhaseSummary($startTimeMs, $endTimeMs)"
Copy link
Member

Choose a reason for hiding this comment

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

Also include the duration in toString?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

so for actual debugging this is not needed right?

@gatorsmile
Copy link
Member

LGTM

Thanks! Merged to master.

@asfgit asfgit closed this in 36edbac Nov 30, 2018
jackylee-ch pushed a commit to jackylee-ch/spark that referenced this pull request Feb 18, 2019
## What changes were proposed in this pull request?
This patch changes the query plan tracker added earlier to report phase timeline, rather than just a duration for each phase. This way, we can easily find time that's unaccounted for.

## How was this patch tested?
Updated test cases to reflect that.

Closes apache#23183 from rxin/SPARK-26226.

Authored-by: Reynold Xin <[email protected]>
Signed-off-by: gatorsmile <[email protected]>
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