Github user JoshRosen commented on the pull request:

    https://github.com/apache/spark/pull/3768#issuecomment-67996364
  
    I agree that the test failure seems unrelated to this patch, but we should 
definitely investigate it (maybe separately):
    
    ```
    OK (skipped=1)
    Traceback (most recent call last):
      File "pyspark/mllib/_common.py", line 20, in <module>
        import numpy
      File "/usr/lib64/python2.6/site-packages/numpy/__init__.py", line 170, in 
<module>
        from . import add_newdocs
      File "/usr/lib64/python2.6/site-packages/numpy/add_newdocs.py", line 13, 
in <module>
        from numpy.lib import add_newdoc
      File "/usr/lib64/python2.6/site-packages/numpy/lib/__init__.py", line 8, 
in <module>
        from .type_check import *
      File "/usr/lib64/python2.6/site-packages/numpy/lib/type_check.py", line 
11, in <module>
        import numpy.core.numeric as _nx
      File "/usr/lib64/python2.6/site-packages/numpy/core/__init__.py", line 
46, in <module>
        from numpy.testing import Tester
      File "/usr/lib64/python2.6/site-packages/numpy/testing/__init__.py", line 
13, in <module>
        from .utils import *
      File "/usr/lib64/python2.6/site-packages/numpy/testing/utils.py", line 
15, in <module>
        from tempfile import mkdtemp
      File "/usr/lib64/python2.6/tempfile.py", line 34, in <module>
        from random import Random as _Random
      File 
"/home/jenkins/workspace/SparkPullRequestBuilder/python/pyspark/mllib/random.py",
 line 23, in <module>
        from pyspark.rdd import RDD
      File 
"/home/jenkins/workspace/SparkPullRequestBuilder/python/pyspark/__init__.py", 
line 63, in <module>
        from pyspark.context import SparkContext
      File 
"/home/jenkins/workspace/SparkPullRequestBuilder/python/pyspark/context.py", 
line 22, in <module>
        from tempfile import NamedTemporaryFile
    ImportError: cannot import name NamedTemporaryFile
    ```


---
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]

Reply via email to