Return-Path: X-Original-To: apmail-spark-commits-archive@minotaur.apache.org Delivered-To: apmail-spark-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D9F7617537 for ; Thu, 12 Feb 2015 22:54:58 +0000 (UTC) Received: (qmail 77646 invoked by uid 500); 12 Feb 2015 22:54:52 -0000 Delivered-To: apmail-spark-commits-archive@spark.apache.org Received: (qmail 77612 invoked by uid 500); 12 Feb 2015 22:54:52 -0000 Mailing-List: contact commits-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@spark.apache.org Received: (qmail 77603 invoked by uid 99); 12 Feb 2015 22:54:52 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2015 22:54:52 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 780C9E03A1; Thu, 12 Feb 2015 22:54:52 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: andrewor14@apache.org To: commits@spark.apache.org Message-Id: <1b606a1667264919996291efba6cb431@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: spark git commit: [SPARK-5780] [PySpark] Mute the logging during unit tests Date: Thu, 12 Feb 2015 22:54:52 +0000 (UTC) Repository: spark Updated Branches: refs/heads/branch-1.2 9c5454d06 -> c7bac577a [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 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 Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/c7bac577 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/c7bac577 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/c7bac577 Branch: refs/heads/branch-1.2 Commit: c7bac577ad09625a8ef27d6930020f18b2433696 Parents: 9c5454d Author: Davies Liu Authored: Thu Feb 12 14:54:38 2015 -0800 Committer: Andrew Or Committed: Thu Feb 12 14:54:51 2015 -0800 ---------------------------------------------------------------------- python/run-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/c7bac577/python/run-tests ---------------------------------------------------------------------- diff --git a/python/run-tests b/python/run-tests index 9ee19ed..872241f 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-unsubscribe@spark.apache.org For additional commands, e-mail: commits-help@spark.apache.org