[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to