Skip to content

Commit

Permalink
use local instead local[2] for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxr committed Nov 12, 2014
1 parent 2524251 commit 34319ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import org.apache.spark.SparkContext
import org.apache.spark.sql.SQLContext

trait LocalSparkContext extends BeforeAndAfterAll { self: Suite =>
@transient val sc = new SparkContext("local[2]", "test")
@transient val sc = new SparkContext("local", "test")
@transient lazy val sqlContext = new SQLContext(sc)

override def afterAll() {
Expand Down

0 comments on commit 34319ba

Please sign in to comment.