diff options
author | Shivaram Venkataraman <shivaram@eecs.berkeley.edu> | 2013-07-07 02:45:55 -0700 |
---|---|---|
committer | Shivaram Venkataraman <shivaram@eecs.berkeley.edu> | 2013-07-07 04:09:15 -0700 |
commit | 7d6d9e6ab226579518f1c7fbe108c4e66acc6ed0 (patch) | |
tree | b5b107fc38df826ea3ff0bbc4d0cffe6c3840218 /core | |
parent | a948f0672541bd68be020f07134659aee2f38403 (diff) | |
download | spark-7d6d9e6ab226579518f1c7fbe108c4e66acc6ed0.tar.gz spark-7d6d9e6ab226579518f1c7fbe108c4e66acc6ed0.tar.bz2 spark-7d6d9e6ab226579518f1c7fbe108c4e66acc6ed0.zip |
Set DriverSuite log level to WARN
Diffstat (limited to 'core')
-rw-r--r-- | core/src/test/scala/spark/DriverSuite.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/test/scala/spark/DriverSuite.scala b/core/src/test/scala/spark/DriverSuite.scala index 5e84b3a66a..31c3dd75fb 100644 --- a/core/src/test/scala/spark/DriverSuite.scala +++ b/core/src/test/scala/spark/DriverSuite.scala @@ -2,6 +2,9 @@ package spark import java.io.File +import org.apache.log4j.Logger +import org.apache.log4j.Level + import org.scalatest.FunSuite import org.scalatest.concurrent.Timeouts import org.scalatest.prop.TableDrivenPropertyChecks._ @@ -27,6 +30,7 @@ class DriverSuite extends FunSuite with Timeouts { */ object DriverWithoutCleanup { def main(args: Array[String]) { + Logger.getRootLogger().setLevel(Level.WARN) val sc = new SparkContext(args(0), "DriverWithoutCleanup") sc.parallelize(1 to 100, 4).count() } |