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-10620] [SPARK-13054] Minor addendum to #10835 #10958

Closed

Conversation

andrewor14
Copy link
Contributor

Additional changes to #10835, mainly related to style and visibility. This patch also adds back a few deprecated methods for backward compatibility.

Andrew Or added 3 commits January 27, 2016 14:31
@andrewor14
Copy link
Contributor Author

@JoshRosen

@andrewor14 andrewor14 force-pushed the task-metrics-to-accums-followups branch from 7e953f2 to 5a24601 Compare January 27, 2016 22:50
@andrewor14 andrewor14 force-pushed the task-metrics-to-accums-followups branch from 5a24601 to 822899d Compare January 27, 2016 22:50
@SparkQA
Copy link

SparkQA commented Jan 27, 2016

Test build #50234 has finished for PR 10958 at commit 5404254.

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

With this change, we ALWAYS post task end events in canceled
stages for both tasks that succeeded and tasks that failed.
@andrewor14 andrewor14 changed the title [SPARK-10620] Minor addendum to #10835 [SPARK-10620] [SPARK-13054] Minor addendum to #10835 Jan 27, 2016
@SparkQA
Copy link

SparkQA commented Jan 27, 2016

Test build #50235 has finished for PR 10958 at commit 822899d.

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

@SparkQA
Copy link

SparkQA commented Jan 27, 2016

Test build #50238 has started for PR 10958 at commit 6e4859d.

@andrewor14
Copy link
Contributor Author

retest this please

@SparkQA
Copy link

SparkQA commented Jan 28, 2016

Test build #50244 has finished for PR 10958 at commit 6e4859d.

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

// introducing additional complexity in the scheduler to wait for all the task end events
// before posting the stage completed event.
listenerBus.post(SparkListenerTaskEnd(
stageId, task.stageAttemptId, taskType, event.reason, event.taskInfo, taskMetrics))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

(comment for linking)

Copy link
Contributor

Choose a reason for hiding this comment

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

This should probably have a test like #10951. We should combine our efforts on this. This might make more sense to have in a separate PR from the other style things but doesn't matter to much.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, I separated it

Copy link
Contributor

Choose a reason for hiding this comment

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

are you going to file a separate pr or should I just update mine ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you can just update yours

@@ -60,19 +60,20 @@ import org.apache.spark.storage.{BlockId, BlockStatus}
* @tparam T result type
*/
class Accumulator[T] private[spark] (
@transient private[spark] val initialValue: T,
// SI-8813: This must explicitly be a private val, or else scala 2.11 doesn't compile
@transient private val initialValue: T,
Copy link
Contributor

Choose a reason for hiding this comment

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

This change was already added in another patch, causing a merge conflict here.

@JoshRosen
Copy link
Contributor

LGTM. Sorry for the delay in reviewing.

Andrew Or added 2 commits February 8, 2016 13:51
…-accums-followups

Conflicts:
	core/src/test/scala/org/apache/spark/InternalAccumulatorSuite.scala
@SparkQA
Copy link

SparkQA commented Feb 9, 2016

Test build #50943 has finished for PR 10958 at commit 854c71f.

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

@JoshRosen
Copy link
Contributor

I'm going to merge this into master. Thanks!

@asfgit asfgit closed this in eeaf45b Feb 9, 2016
@andrewor14 andrewor14 deleted the task-metrics-to-accums-followups branch February 9, 2016 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants