You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/01/04 03:55:35 UTC

[jira] [Commented] (SPARK-5065) BroadCast can still work after sc had been stopped.

    [ https://issues.apache.org/jira/browse/SPARK-5065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14263729#comment-14263729 ] 

Apache Spark commented on SPARK-5065:
-------------------------------------

User 'SaintBacchus' has created a pull request for this issue:
https://github.com/apache/spark/pull/3885

> BroadCast can still work after sc had been stopped.
> ---------------------------------------------------
>
>                 Key: SPARK-5065
>                 URL: https://issues.apache.org/jira/browse/SPARK-5065
>             Project: Spark
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>            Reporter: SaintBacchus
>
> Code as follow:
> {code:borderStyle=solid}
> val sc1 = new SparkContext
> val sc2 = new SparkContext
> sc1.stop
> sc1.broadcast(1)
> {code}
> It can work well, because sc1.broadcast will reuse the BlockManager in sc2.
> To fix it, throw a sparkException when broadCastManager had stopped.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org