Repository: spark
Updated Branches:
  refs/heads/branch-1.3 11a0d5b6d -> bf0d15c52


[SPARK-5780] [PySpark] Mute the logging during unit tests

There a bunch of logging coming from driver and worker, it's noisy and scaring, 
and a lots of exception in it, people are confusing about the tests are failing 
or not.

This PR will mute the logging during tests, only show them if any one failed.

Author: Davies Liu <dav...@databricks.com>

Closes #4572 from davies/mute and squashes the following commits:

1e9069c [Davies Liu] mute the logging during python tests

(cherry picked from commit 0bf031582588723dd5a4ca42e6f9f36bc2da1a0b)
Signed-off-by: Andrew Or <and...@databricks.com>


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

Branch: refs/heads/branch-1.3
Commit: bf0d15c5255f054d2fb70d82ca96797a3665f058
Parents: 11a0d5b
Author: Davies Liu <dav...@databricks.com>
Authored: Thu Feb 12 14:54:38 2015 -0800
Committer: Andrew Or <and...@databricks.com>
Committed: Thu Feb 12 14:54:43 2015 -0800

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


http://git-wip-us.apache.org/repos/asf/spark/blob/bf0d15c5/python/run-tests
----------------------------------------------------------------------
diff --git a/python/run-tests b/python/run-tests
index 58a26dd..077ad60 100755
--- a/python/run-tests
+++ b/python/run-tests
@@ -35,7 +35,7 @@ rm -rf metastore warehouse
 function run_test() {
     echo "Running test: $1" | tee -a $LOG_FILE
 
-    SPARK_TESTING=1 time "$FWDIR"/bin/pyspark $1 2>&1 | tee -a $LOG_FILE
+    SPARK_TESTING=1 time "$FWDIR"/bin/pyspark $1 >> $LOG_FILE 2>&1
 
     FAILED=$((PIPESTATUS[0]||$FAILED))
 


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

Reply via email to