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

Dongjoon Hyun closed SPARK-33374.
---------------------------------

> [CORE] Remove unnecessary python path from spark home
> -----------------------------------------------------
>
>                 Key: SPARK-33374
>                 URL: https://issues.apache.org/jira/browse/SPARK-33374
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 3.0.1
>            Reporter: Zhongwei Zhu
>            Priority: Major
>
> Currently, spark-submit will upload pyspark.zip and py4j-0.10.9-src.zip into 
> staging folder, and both files will be added into PYTHONPATH. So it's 
> unnecessary to add duplicate files in current spark home folder on local 
> machine. 
> Output of `sys.path` as below:
> 'D:\\data\\yarnnm\\local\\usercache\\z\\appcache\\application_1603546638930_150736\\container_e1148_1603546638930_150736_01_000002\\pyspark.zip',
> 'D:\\data\\yarnnm\\local\\usercache\\z\\appcache\\application_1603546638930_150736\\container_e1148_1603546638930_150736_01_000002\\py4j-0.10.7-src.zip',
> 'D:\\data\\spark.latest\\python\\lib\\pyspark.zip',
> 'D:\\data\\spark.latest\\python\\lib\\py4j-0.10.7-src.zip',



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to