aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/scala/org/apache
diff options
context:
space:
mode:
authorXin Ren <iamshrek@126.com>2016-08-30 11:18:29 +0100
committerSean Owen <sowen@cloudera.com>2016-08-30 11:18:29 +0100
commit2d76cb11f51b20a57af7bdefb7a74fdfe41060aa (patch)
tree1b39af19373243e4bb0d4d1c536184edd42a11a0 /core/src/test/scala/org/apache
parentbca79c823024c41731ec89f96a3722d7b1c99639 (diff)
downloadspark-2d76cb11f51b20a57af7bdefb7a74fdfe41060aa.tar.gz
spark-2d76cb11f51b20a57af7bdefb7a74fdfe41060aa.tar.bz2
spark-2d76cb11f51b20a57af7bdefb7a74fdfe41060aa.zip
[SPARK-17276][CORE][TEST] Stop env params output on Jenkins job page
https://issues.apache.org/jira/browse/SPARK-17276 ## What changes were proposed in this pull request? When trying to find error msg in a failed Jenkins build job, I'm annoyed by the huge env output. The env parameter output should be muted. ![screen shot 2016-08-26 at 10 52 07 pm](https://cloud.githubusercontent.com/assets/3925641/18025581/b8d567ba-6be2-11e6-9eeb-6aec223f1730.png) ## How was this patch tested? Tested manually on local laptop. Author: Xin Ren <iamshrek@126.com> Closes #14848 from keypointt/SPARK-17276.
Diffstat (limited to 'core/src/test/scala/org/apache')
-rw-r--r--core/src/test/scala/org/apache/spark/rdd/PipedRDDSuite.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/test/scala/org/apache/spark/rdd/PipedRDDSuite.scala b/core/src/test/scala/org/apache/spark/rdd/PipedRDDSuite.scala
index 387f3e2502..7293aa9a25 100644
--- a/core/src/test/scala/org/apache/spark/rdd/PipedRDDSuite.scala
+++ b/core/src/test/scala/org/apache/spark/rdd/PipedRDDSuite.scala
@@ -214,7 +214,7 @@ class PipedRDDSuite extends SparkFunSuite with SharedSparkContext {
}
def testCommandAvailable(command: String): Boolean = {
- val attempt = Try(Process(command).run().exitValue())
+ val attempt = Try(Process(command).run(ProcessLogger(_ => ())).exitValue())
attempt.isSuccess && attempt.get == 0
}