You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2019/07/23 21:02:00 UTC

[jira] [Deleted] (SPARK-28485) PythonBroadcast may delete the broadcast file while a Python worker still needs it

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

Xiao Li deleted SPARK-28485:
----------------------------


> PythonBroadcast may delete the broadcast file while a Python worker still needs it
> ----------------------------------------------------------------------------------
>
>                 Key: SPARK-28485
>                 URL: https://issues.apache.org/jira/browse/SPARK-28485
>             Project: Spark
>          Issue Type: Bug
>            Reporter: Xiao Li
>            Assignee: wuyi
>            Priority: Major
>
> How to reproduce:
> Run "bin/pyspark --master local[1,1] --conf spark.memory.fraction=0.0001" to start PySpark and run the following codes:
> {code:java}
> b = sc.broadcast([100]) 
> sc.parallelize([0],1).map(lambda x: 0 if x == 0 else b.value[0]).collect() 
> sc._jvm.java.lang.System.gc()
> import time time.sleep(5) 
> sc._jvm.java.lang.System.gc() 
> time.sleep(5) 
> sc.parallelize([1],1).map(lambda x: 0 if x == 0 else b.value[0]).collect(){code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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