Github user cleaton commented on the pull request:
https://github.com/apache/spark/pull/3868#issuecomment-72158188
Thanks @tdas
I'll create a new minimal PR with only the receiver shutdown part and the
unit test. The main problem is how to deal with the timeout then. The two most
simple approaches I can think of is:
* 1. Propagate the time it took to shutdown the receivers and deduct it
from the waiting time inside JobGenerator.scala
* 2. Directly deduct the time by setting the "gracefulStopTimeout" conf
parameter to the left over time after successfully stopping the receivers.
What do you think is the best approach for now?
---
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]