[ https://issues.apache.org/jira/browse/SPARK-8763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-8763: ----------------------------------- Assignee: (was: Apache Spark) > executing run-tests.py with Python 2.6 fails with absence of > subprocess.check_output function > --------------------------------------------------------------------------------------------- > > Key: SPARK-8763 > URL: https://issues.apache.org/jira/browse/SPARK-8763 > Project: Spark > Issue Type: Bug > Components: PySpark > Affects Versions: 1.5.0 > Environment: Mac OS X 10.10.3 Python 2.6.9 Java 1.8.0 > Reporter: Tomohiko K. > Labels: pyspark, testing > > Running run-tests.py with Python 2.6 cause following error: > {noformat} > 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' > ... > {noformat} > 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) -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org