Skip to content
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

[SPARK-13916][SQL] Add a metric to WholeStageCodegen to measure duration. #11741

Closed
wants to merge 5 commits into from

Conversation

nongli
Copy link
Contributor

@nongli nongli commented Mar 15, 2016

What changes were proposed in this pull request?

WholeStageCodegen naturally breaks the execution into pipelines that are easier to
measure duration. This is more granular than the task timings (a task can be multiple
pipelines) and is integrated with the web ui.

We currently report total time (across all tasks), min/mask/median to get a sense of how long each is taking.

How was this patch tested?

Manually tested looking at the web ui.

…ion.

WholeStageCodegen naturally breaks the execution into pipelines that are easier to
measure duration. This is more granular than the task timings (a task can be multiple
pipelines) and is integrated with the web ui.
@SparkQA
Copy link

SparkQA commented Mar 15, 2016

Test build #53220 has finished for PR 11741 at commit 76958d8.

  • This patch fails Scala style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Mar 15, 2016

Test build #53222 has finished for PR 11741 at commit 28a85f6.

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

@SparkQA
Copy link

SparkQA commented Mar 17, 2016

Test build #53465 has finished for PR 11741 at commit 81c6a47.

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

@@ -34,6 +34,7 @@
protected LinkedList<InternalRow> currentRows = new LinkedList<>();
// used when there is no column in output
protected UnsafeRow unsafeRow = new UnsafeRow(0);
private long startTimeMs = System.currentTimeMillis();
Copy link
Contributor

Choose a reason for hiding this comment

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

@SparkQA
Copy link

SparkQA commented Mar 21, 2016

Test build #53716 has finished for PR 11741 at commit 1435d2a.

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

@rxin
Copy link
Contributor

rxin commented Mar 21, 2016

LGTM

@SparkQA
Copy link

SparkQA commented Mar 21, 2016

Test build #53717 has finished for PR 11741 at commit b02e189.

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

@rxin
Copy link
Contributor

rxin commented Mar 21, 2016

Merging in master. Thanks.

@asfgit asfgit closed this in 5e86e92 Mar 21, 2016
roygao94 pushed a commit to roygao94/spark that referenced this pull request Mar 22, 2016
…ion.

## What changes were proposed in this pull request?

WholeStageCodegen naturally breaks the execution into pipelines that are easier to
measure duration. This is more granular than the task timings (a task can be multiple
pipelines) and is integrated with the web ui.

We currently report total time (across all tasks), min/mask/median to get a sense of how long each is taking.

## How was this patch tested?

Manually tested looking at the web ui.

Author: Nong Li <[email protected]>

Closes apache#11741 from nongli/spark-13916.
@nongli nongli deleted the spark-13916 branch March 22, 2016 20:32
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.

3 participants