You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "holdenk (JIRA)" <ji...@apache.org> on 2016/10/07 23:57:20 UTC

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

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

holdenk closed SPARK-5160.
--------------------------
    Resolution: Fixed

This is now supported.

> 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