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

Matthew Farrellee resolved SPARK-927.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

> PySpark sample() doesn't work if numpy is installed on master but not on 
> workers
> --------------------------------------------------------------------------------
>
>                 Key: SPARK-927
>                 URL: https://issues.apache.org/jira/browse/SPARK-927
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 0.8.0, 0.9.1, 1.0.2, 1.1.2
>            Reporter: Josh Rosen
>            Assignee: Matthew Farrellee
>            Priority: Minor
>             Fix For: 1.2.0
>
>
> PySpark's sample() method crashes with ImportErrors on the workers if numpy 
> is installed on the driver machine but not on the workers.  I'm not sure 
> what's the best way to fix this.  A general mechanism for automatically 
> shipping libraries from the master to the workers would address this, but 
> that could be complicated to implement.



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

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

Reply via email to