Github user mattf commented on the pull request:
https://github.com/apache/spark/pull/2313#issuecomment-55641879
here are the cases. i decided that if the driver doesn't have numpy then
the workers shouldn't try to use it. this is consistent w/ the old code and
maintains the expectation that the same generator is used on driver and
workers. the one case where the expectation is violated (numpy on driver and
not on workers) results in a warning and no failure. perviously there would be
a failure in this case.
driver w/, worker w/ - numpy used, no message emitted
driver w/, worker w/o - numpy used on driver, not used on workers, warning
emitted
driver w/o, worker w/ - numpy not used on driver nor worker, no message
emitted
driver w/o, worker w/o - numpy not used on driver nor worker, no message
emitted
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]