Github user pwendell commented on a diff in the pull request:
https://github.com/apache/spark/pull/2922#discussion_r19325043
--- Diff: core/src/main/scala/org/apache/spark/broadcast/Broadcast.scala ---
@@ -87,10 +91,13 @@ abstract class Broadcast[T: ClassTag](val id: Long)
extends Serializable {
/**
* Destroy all data and metadata related to this broadcast variable. Use
this with caution;
* once a broadcast variable has been destroyed, it cannot be used again.
+ * @param blocking Whether to block until destroy has completed
*/
- private[spark] def destroy(blocking: Boolean) {
+ def destroy(blocking: Boolean) {
--- End diff --
should we only expose a version where blocking is set to true for users? It
seems like asynchronous destroy is a bit more complex. @shivaram does your app
need the async version?
---
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]