spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Semet (JIRA)" <>
Subject [jira] [Commented] (SPARK-5091) Hooks for PySpark tasks
Date Tue, 06 Sep 2016 08:49:21 GMT


Semet commented on SPARK-5091:

It is a better option to use virtualenv and proper installation with pip, which is more scalable
for Python jobs. Manipulating PYTHONPATH can lead so lot of strange behavior.

See [#14180|].

> Hooks for PySpark tasks
> -----------------------
>                 Key: SPARK-5091
>                 URL:
>             Project: Spark
>          Issue Type: New Feature
>          Components: PySpark
>            Reporter: Davies Liu
> Currently, it's not convenient to add package on executor to PYTHONPATH (we did not assume
the environment of driver an executor are identical). 
> It will be nice to have a hook to called before/after every tasks, then user could manipulate
sys.path by pre-task-hooks.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message