You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by jo...@apache.org on 2014/09/08 21:37:57 UTC

git commit: Provide a default PYSPARK_PYTHON for python/run_tests

Repository: spark
Updated Branches:
  refs/heads/master 16a73c247 -> 386bc24eb


Provide a default PYSPARK_PYTHON for python/run_tests

Without this the version of python used in the test is not
recorded. The error is,

   Testing with Python version:
   ./run-tests: line 57: --version: command not found

Author: Matthew Farrellee <ma...@redhat.com>

Closes #2300 from mattf/master-fix-python-run-tests and squashes the following commits:

65a09f5 [Matthew Farrellee] Provide a default PYSPARK_PYTHON for python/run_tests


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/386bc24e
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/386bc24e
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/386bc24e

Branch: refs/heads/master
Commit: 386bc24ebe3e75875b9647d9223c62d7b9dc9963
Parents: 16a73c2
Author: Matthew Farrellee <ma...@redhat.com>
Authored: Mon Sep 8 12:37:52 2014 -0700
Committer: Josh Rosen <jo...@apache.org>
Committed: Mon Sep 8 12:37:52 2014 -0700

----------------------------------------------------------------------
 python/run-tests | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/386bc24e/python/run-tests
----------------------------------------------------------------------
diff --git a/python/run-tests b/python/run-tests
index 226e9e2..d98840d 100755
--- a/python/run-tests
+++ b/python/run-tests
@@ -50,6 +50,8 @@ function run_test() {
 
 echo "Running PySpark tests. Output is in python/unit-tests.log."
 
+export PYSPARK_PYTHON="python"
+
 # Try to test with Python 2.6, since that's the minimum version that we support:
 if [ $(which python2.6) ]; then
     export PYSPARK_PYTHON="python2.6"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org