Github user tdas commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1694#discussion_r15664072
  
    --- Diff: 
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)
    --- End diff --
    
    Can you also add reportError() so that this error gets reported to the 
driver? Its easier to debug when all the error gets reported to the driver. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to