[ 
https://issues.apache.org/jira/browse/SPARK-5065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Rosen resolved SPARK-5065.
-------------------------------
    Resolution: Fixed
      Assignee: Josh Rosen

This was fixed as part of my PR for SPARK-5063

> 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
>          Components: Spark Core
>    Affects Versions: 1.2.1
>            Reporter: SaintBacchus
>            Assignee: Josh Rosen
>            Priority: Minor
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to