You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Semet (JIRA)" <ji...@apache.org> on 2016/08/11 09:01:20 UTC

[jira] [Commented] (SPARK-5160) Python module in jars

    [ https://issues.apache.org/jira/browse/SPARK-5160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15416907#comment-15416907 ] 

Semet commented on SPARK-5160:
------------------------------

zip files are already supported, just add zip to --pyfiles and they get added to the PATH. I am working on Wheel support for Spark: SPARK-16367

> Python module in jars
> ---------------------
>
>                 Key: SPARK-5160
>                 URL: https://issues.apache.org/jira/browse/SPARK-5160
>             Project: Spark
>          Issue Type: New Feature
>          Components: PySpark, Spark Core
>            Reporter: Davies Liu
>
> In order to simplify publish of spark packages with Python modules, we could put the python module into jars (jar is a zip but with different extension). Python can import the module in a jar when:
> 1) the module is in the top level of jar
> 2) the path to jar is sys.path
> So, we should put the path of jar into PYTHONPATH in driver and executor.
> cc [~pwendell]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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