Skip to content

Commit 3bf3be9

Browse files
committed
fix exception
1 parent 42ba873 commit 3bf3be9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/SparkContext.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ class SparkContext(config: SparkConf) extends Logging with ExecutorAllocationCli
351351
val validLevels = Seq("ALL", "DEBUG", "ERROR", "FATAL", "INFO", "OFF", "TRACE", "WARN")
352352
if (!validLevels.contains(logLevel)) {
353353
throw new IllegalArgumentException(
354-
s"Supplied level $logLevel did not match one of: ${validLevels.mkString(',')}")
354+
s"Supplied level $logLevel did not match one of: ${validLevels.mkString(",")}")
355355
}
356356
Utils.setLogLevel(org.apache.log4j.Level.toLevel(logLevel))
357357
}

0 commit comments

Comments
 (0)