SaintBacchus created SPARK-5065:
-----------------------------------

             Summary: 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.broadcast(1)
sc1.stop
{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

Reply via email to