You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2014/12/09 22:16:12 UTC

[jira] [Commented] (SPARK-4803) Duplicate RegisterReceiver messages sent from ReceiverSupervisor

    [ https://issues.apache.org/jira/browse/SPARK-4803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14240080#comment-14240080 ] 

Apache Spark commented on SPARK-4803:
-------------------------------------

User 'ilayaperumalg' has created a pull request for this issue:
https://github.com/apache/spark/pull/3648

> Duplicate RegisterReceiver messages sent from ReceiverSupervisor
> ----------------------------------------------------------------
>
>                 Key: SPARK-4803
>                 URL: https://issues.apache.org/jira/browse/SPARK-4803
>             Project: Spark
>          Issue Type: Bug
>          Components: Streaming
>            Reporter: Ilayaperumal Gopinathan
>            Priority: Trivial
>
> The ReceiverTracker receivers `RegisterReceiver` messages two times
>      1) When the actor at `ReceiverSupervisorImpl`'s preStart is invoked
>      2) After the receiver is started at the executor `onReceiverStart()` at `ReceiverSupervisorImpl`
> Though the 'RegisterReceiver' message uses the same streamId and the receiverInfo gets updated every time the message is processed at the `ReceiverTracker`, it makes sense to call register receiver only after the
> receiver is started.
> or, am I missing something here?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org