Github user srowen commented on the issue:
https://github.com/apache/spark/pull/14333
I don't understand the last change. As far as I can see it can be destroyed
inside the loop iteration. It's also possible to reuse the broadcast (declare
outside the loop), and unpersist each iteration, and destroy afterwards. But I
don't see the need to hold on to all these broadcasts?
Yes you make a fair point about recovery. I think your changes are safe in
this respect, good.
---
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]