Skip to content

SPARK-2900. aggregate inputBytes per stage - #1826

Closed
sryza wants to merge 1 commit into
apache:masterfrom
sryza:sandy-spark-2900
Closed

sryza wants to merge 1 commit into
apache:masterfrom
sryza:sandy-spark-2900

Conversation

@sryza

@sryza sryza commented Aug 7, 2014

Copy link
Copy Markdown
Contributor

No description provided.

@SparkQA

SparkQA commented Aug 7, 2014

Copy link
Copy Markdown

QA tests have started for PR 1826. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18108/consoleFull

@SparkQA

SparkQA commented Aug 7, 2014

Copy link
Copy Markdown

QA results for PR 1826:
- This patch FAILED unit tests.
- This patch merges cleanly
- This patch adds no public classes

For more information see test ouptut:
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18108/consoleFull

@sryza

sryza commented Aug 7, 2014

Copy link
Copy Markdown
Contributor Author

The failure appears to be unrelated (something with connections and Kafka).

@sryza

sryza commented Aug 7, 2014

Copy link
Copy Markdown
Contributor Author

Jenkins, retest this please.

@SparkQA

SparkQA commented Aug 7, 2014

Copy link
Copy Markdown

QA tests have started for PR 1826. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18114/consoleFull

@SparkQA

SparkQA commented Aug 7, 2014

Copy link
Copy Markdown

QA results for PR 1826:
- This patch PASSES unit tests.
- This patch merges cleanly
- This patch adds no public classes

For more information see test ouptut:
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18114/consoleFull

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

minor: This is slightly hard to read. Can you write it this way

val inputBytesDelta = {
  val newBytes = taskMetrics.inputMetrics.map(_.bytesRead).getOrElse(0L)
  val oldBytes = oldMetrics.flatMap(_.inputMetrics).map(_.bytesRead).getOrElse(0L)
  newBytes - oldBytes
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Never mind, I just realized it's the same everywhere else in this file. I guess it's better to keep it consistent...

@andrewor14

Copy link
Copy Markdown
Contributor

Looks like this code was simply missing for input bytes. LGTM.

@pwendell

Copy link
Copy Markdown
Contributor

Jenkins, test this please.

@pwendell

Copy link
Copy Markdown
Contributor

Thanks Sandy LGTM pending tests

@SparkQA

SparkQA commented Aug 18, 2014

Copy link
Copy Markdown

QA tests have started for PR 1826 at commit 43f9091.

  • This patch merges cleanly.

@SparkQA

SparkQA commented Aug 18, 2014

Copy link
Copy Markdown

QA tests have finished for PR 1826 at commit 43f9091.

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

@asfgit asfgit closed this in df652ea Aug 18, 2014
asfgit pushed a commit that referenced this pull request Aug 18, 2014
Author: Sandy Ryza <sandy@cloudera.com>

Closes #1826 from sryza/sandy-spark-2900 and squashes the following commits:

43f9091 [Sandy Ryza] SPARK-2900
(cherry picked from commit df652ea)

Signed-off-by: Patrick Wendell <pwendell@gmail.com>
xiliu82 pushed a commit to xiliu82/spark that referenced this pull request Sep 4, 2014
Author: Sandy Ryza <sandy@cloudera.com>

Closes apache#1826 from sryza/sandy-spark-2900 and squashes the following commits:

43f9091 [Sandy Ryza] SPARK-2900
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