Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshRosen committed Sep 13, 2024
1 parent 08a26bb commit 3b16f14
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ trait SharedSparkContext extends BeforeAndAfterAll with BeforeAndAfterEach { sel

def sc: SparkContext = _sc

val conf = new SparkConf(false)
// SPARK-49647: use `SparkConf()` instead of `SparkConf(false)` because we want to
// load defaults from system properties and the classpath, including default test
// settings specified in the SBT and Maven build definitions.
val conf: SparkConf = new SparkConf()

/**
* Initialize the [[SparkContext]]. Generally, this is just called from beforeAll; however, in
Expand Down

0 comments on commit 3b16f14

Please sign in to comment.