aboutsummaryrefslogtreecommitdiff
path: root/streaming
diff options
context:
space:
mode:
authorjoyyoj <sunshch@gmail.com>2014-08-01 13:41:55 -0700
committerTathagata Das <tathagata.das1565@gmail.com>2014-08-01 13:41:55 -0700
commitb270309d7608fb749e402cd5afd36087446be398 (patch)
tree1f1e8654867ca45d84af5db0b354262c81dfa2a3 /streaming
parentf5d9bea20e0db22c09c1191ca44a6471de765739 (diff)
downloadspark-b270309d7608fb749e402cd5afd36087446be398.tar.gz
spark-b270309d7608fb749e402cd5afd36087446be398.tar.bz2
spark-b270309d7608fb749e402cd5afd36087446be398.zip
[SPARK-2379] Fix the bug that streaming's receiver may fall into a dead loop
Author: joyyoj <sunshch@gmail.com> Closes #1694 from joyyoj/SPARK-2379 and squashes the following commits: d73790d [joyyoj] SPARK-2379 Fix the bug that streaming's receiver may fall into a dead loop 22e7821 [joyyoj] Merge remote-tracking branch 'apache/master' 3f4a602 [joyyoj] Merge remote-tracking branch 'remotes/apache/master' f4660c5 [joyyoj] [SPARK-1998] SparkFlumeEvent with body bigger than 1020 bytes are not read properly
Diffstat (limited to 'streaming')
-rw-r--r--streaming/src/main/scala/org/apache/spark/streaming/receiver/ReceiverSupervisor.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/src/main/scala/org/apache/spark/streaming/receiver/ReceiverSupervisor.scala b/streaming/src/main/scala/org/apache/spark/streaming/receiver/ReceiverSupervisor.scala
index 09be3a50d2..1f0244c251 100644
--- a/streaming/src/main/scala/org/apache/spark/streaming/receiver/ReceiverSupervisor.scala
+++ b/streaming/src/main/scala/org/apache/spark/streaming/receiver/ReceiverSupervisor.scala
@@ -138,7 +138,7 @@ private[streaming] abstract class ReceiverSupervisor(
onReceiverStop(message, error)
} catch {
case t: Throwable =>
- stop("Error stopping receiver " + streamId, Some(t))
+ logError("Error stopping receiver " + streamId + t.getStackTraceString)
}
}