-
Notifications
You must be signed in to change notification settings - Fork 28.7k
SPARK-1917: fix PySpark import of scipy.special functions #866
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Can one of the admins verify this patch? |
@laserson can you add some tests for this? You can make them run only if SciPy is imported -- see the MLlib tests in mllib/tests.py for an example. But we need a way to verify that this is working. |
Jenkins, this is ok to test |
Merged build triggered. |
Merged build started. |
Merged build finished. |
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15264/ |
Jenkins, retest this please. |
Merged build triggered. |
Merged build started. |
Will add tests tomorrow morning... |
Merged build finished. All automated tests passed. |
All automated tests passed. |
@mateiz test added |
Merged build triggered. |
Merged build started. |
Merged build finished. All automated tests passed. |
All automated tests passed. |
https://issues.apache.org/jira/browse/SPARK-1917 Author: Uri Laserson <[email protected]> Closes #866 from laserson/SPARK-1917 and squashes the following commits: d947e8c [Uri Laserson] Added test for scipy.special importing 1798bbd [Uri Laserson] SPARK-1917: fix PySpark import of scipy.special (cherry picked from commit 5e98967) Signed-off-by: Matei Zaharia <[email protected]>
Thanks Uri. Merged this into branch-1.0 as well as 0.9. |
https://issues.apache.org/jira/browse/SPARK-1917 Author: Uri Laserson <[email protected]> Closes #866 from laserson/SPARK-1917 and squashes the following commits: d947e8c [Uri Laserson] Added test for scipy.special importing 1798bbd [Uri Laserson] SPARK-1917: fix PySpark import of scipy.special Conflicts: python/pyspark/tests.py
https://issues.apache.org/jira/browse/SPARK-1917 Author: Uri Laserson <[email protected]> Closes apache#866 from laserson/SPARK-1917 and squashes the following commits: d947e8c [Uri Laserson] Added test for scipy.special importing 1798bbd [Uri Laserson] SPARK-1917: fix PySpark import of scipy.special Conflicts: python/pyspark/tests.py
Yes, that's annoying about python 2.6 Note that I just copied the same pattern that was present in |
@laserson is it possible to just wrap the test in an "if statement"? |
I guess that would work, though I've never seen anyone do that. |
FYI we've also been using skipIf for a while in python/pyspark/mllib/tests.py. I guess you're trying Jenkins on 2.6 now? |
I created SPARK-2101 to address this. |
See #1042 for a patch. |
https://issues.apache.org/jira/browse/SPARK-1917 Author: Uri Laserson <[email protected]> Closes apache#866 from laserson/SPARK-1917 and squashes the following commits: d947e8c [Uri Laserson] Added test for scipy.special importing 1798bbd [Uri Laserson] SPARK-1917: fix PySpark import of scipy.special
https://issues.apache.org/jira/browse/SPARK-1917 Author: Uri Laserson <[email protected]> Closes apache#866 from laserson/SPARK-1917 and squashes the following commits: d947e8c [Uri Laserson] Added test for scipy.special importing 1798bbd [Uri Laserson] SPARK-1917: fix PySpark import of scipy.special
https://issues.apache.org/jira/browse/SPARK-1917