Skip to content
Snippets Groups Projects
Commit 7d6d9e6a authored by Shivaram Venkataraman's avatar Shivaram Venkataraman
Browse files

Set DriverSuite log level to WARN

parent a948f067
No related branches found
No related tags found
No related merge requests found
......@@ -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()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment