Repository: spark
Updated Branches:
  refs/heads/branch-1.1 8c40ab5c0 -> dbf812022


[SPARK-3401][PySpark] Wrong usage of tee command in python/run-tests

Author: Kousuke Saruta <[email protected]>

Closes #2272 from sarutak/SPARK-3401 and squashes the following commits:

2b35a59 [Kousuke Saruta] Modified wrong usage of tee command in python/run-tests

(cherry picked from commit 4feb46c5feca8d48ec340dc9c8d0eccbcd41f505)
Signed-off-by: Reynold Xin <[email protected]>


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

Branch: refs/heads/branch-1.1
Commit: dbf8120221945f3fbd19698e533d3328d8e20029
Parents: 8c40ab5
Author: Kousuke Saruta <[email protected]>
Authored: Thu Sep 4 10:29:11 2014 -0700
Committer: Reynold Xin <[email protected]>
Committed: Thu Sep 4 10:29:18 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/spark/blob/dbf81202/python/run-tests
----------------------------------------------------------------------
diff --git a/python/run-tests b/python/run-tests
index 7b1ee3e..d671da4 100755
--- a/python/run-tests
+++ b/python/run-tests
@@ -33,7 +33,7 @@ rm -rf metastore warehouse
 
 function run_test() {
     echo "Running test: $1"
-    SPARK_TESTING=1 $FWDIR/bin/pyspark $1 2>&1 | tee -a > unit-tests.log
+    SPARK_TESTING=1 $FWDIR/bin/pyspark $1 2>&1 | tee -a unit-tests.log
     FAILED=$((PIPESTATUS[0]||$FAILED))
 
     # Fail and exit on the first test failure.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to