Github user viirya commented on the pull request:

    https://github.com/apache/spark/pull/4364#issuecomment-73161788
  
    Yes. That is because `ReceiverTracker.ReceiverLauncher` has been revised 
recently to introduce the graceful mode that waits the all receivers to quit 
before it stops. It has no timeout setting now.
    
    So if you stop() soon after you start() and you stop() in graceful way, 
then you will possibly hit this problem and get stuck indefinitely.
    
    Adding the await termination can do the trick. And we should add a timeout 
to `ReceiverTracker.ReceiverLauncher` too. Do you need me to add that in this 
pr?


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