[ https://issues.apache.org/jira/browse/SPARK-5065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen updated SPARK-5065: ----------------------------- Component/s: Spark Core Priority: Minor (was: Major) > 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 > 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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org