Skip to content

Commit bdcbbda

Browse files
author
Marcelo Vanzin
committed
[SPARK-11786][CORE] Tone down messages from akka error monitor.
There events happen normally during the app's lifecycle, so printing out ERROR logs all the time is misleading, and can actually affect usability of interactive shells. Author: Marcelo Vanzin <vanzin@cloudera.com> Closes #9772 from vanzin/SPARK-11786. (cherry picked from commit 936bc0b) Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
1 parent cf36cdb commit bdcbbda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/rpc/akka/AkkaRpcEnv.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ private[akka] class ErrorMonitor extends Actor with ActorLogReceive with Logging
267267
}
268268

269269
override def receiveWithLogging: Actor.Receive = {
270-
case Error(cause: Throwable, _, _, message: String) => logError(message, cause)
270+
case Error(cause: Throwable, _, _, message: String) => logDebug(message, cause)
271271
}
272272
}
273273

0 commit comments

Comments
 (0)