You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Matthew Farrellee (JIRA)" <ji...@apache.org> on 2015/01/06 00:05:34 UTC
[jira] [Commented] (SPARK-927) PySpark sample() doesn't work if
numpy is installed on master but not on workers
[ https://issues.apache.org/jira/browse/SPARK-927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14265290#comment-14265290 ]
Matthew Farrellee commented on SPARK-927:
-----------------------------------------
PR #2313 was subsumed by PR #3351, which resolved SPARK-4477 and this issue
the resolution was to remove the use of numpy altogether
> 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
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org