Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into dt-opt2
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbradley committed Aug 15, 2014
2 parents 797f68a + c703229 commit 931a3a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ private[spark] class EventLoggingListener(
logEvent(event, flushLogger = true)
override def onApplicationEnd(event: SparkListenerApplicationEnd) =
logEvent(event, flushLogger = true)
// No-op because logging every update would be overkill
override def onExecutorMetricsUpdate(event: SparkListenerExecutorMetricsUpdate) { }

/**
* Stop logging events.
Expand Down
3 changes: 2 additions & 1 deletion core/src/main/scala/org/apache/spark/util/JsonProtocol.scala
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ private[spark] object JsonProtocol {
case applicationEnd: SparkListenerApplicationEnd =>
applicationEndToJson(applicationEnd)

// Not used, but keeps compiler happy
// These aren't used, but keeps compiler happy
case SparkListenerShutdown => JNothing
case SparkListenerExecutorMetricsUpdate(_, _) => JNothing
}
}

Expand Down

0 comments on commit 931a3a7

Please sign in to comment.