Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
assert msg
  • Loading branch information
juliuszsompolski committed Jan 2, 2018
commit 1ecb766a42bafd481674df4c8c06a23977142d6e
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,8 @@ class SQLConf extends Serializable with Logging {

if (Utils.isTesting && SparkEnv.get != null) {
// assert that we're only accessing it on the driver.
assert(SparkEnv.get.executorId == SparkContext.DRIVER_IDENTIFIER)
assert(SparkEnv.get.executorId == SparkContext.DRIVER_IDENTIFIER,
"SQLConf should only be created and accessed on the driver.")
}

/** Only low degree of contention is expected for conf, thus NOT using ConcurrentHashMap. */
Expand Down