Github user cocoatomo commented on the pull request:

    https://github.com/apache/spark/pull/6967#issuecomment-117418734
  
    Hi, @JoshRosen
    When running run-tests.py with Python 2.6, I got a folloing error:
    
    ```
    Running PySpark tests. Output is in 
python//Users/tomohiko/.jenkins/jobs/pyspark_test/workspace/python/unit-tests.log
    Will test against the following Python executables: ['python2.6', 
'python3.4', 'pypy']
    Will test the following Python modules: ['pyspark-core', 'pyspark-ml', 
'pyspark-mllib', 'pyspark-sql', 'pyspark-streaming']
    Traceback (most recent call last):
      File "./python/run-tests.py", line 196, in <module>
        main()
      File "./python/run-tests.py", line 159, in main
        python_implementation = subprocess.check_output(
    AttributeError: 'module' object has no attribute 'check_output'
    ```
    
    The cause of this error is using subprocess.check_output function, which 
exists since Python 2.7.
    (ref. 
https://docs.python.org/2.7/library/subprocess.html#subprocess.check_output)
    
    The paragraph https://spark.apache.org/docs/latest/#downloading says "Spark 
runs on Java 6+, Python 2.6+...", so should we make run-tests.py enable to run 
on Python 2.6?


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to