Ilayaperumal Gopinathan created SPARK-4803:
----------------------------------------------

             Summary: 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