Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/15618
  
    Hm.. @srowen @tdas and @mridulm . I just got rid of the changes in 
`ReceiverTracker.scala` here for now. It seems we can't make this `null` in 
`stop()` and create an instance in `start()` because this instance is being 
accessed after gracefully stopped. It seems the blocks should be able to be 
retrieved after stopped.
    
    One way I am thinking is, initiate this `ReceivedBlockTracker` instance at 
`start()` in `ReceiverTracker` and add null checks in each method using 
`ReceivedBlockTracker` instance in `ReceiverTracker`. However, I am not sure 
whether it is worth adding such checks and that this is right or cleanest way 
as I am not familiar with this streaming part.
    
    Could I please ask anyone who is familiar with this to make a followup if 
it is fine?


---
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.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to