Skip to content

Commit ccd30d7

Browse files
delete log in sparkConf
1 parent 330f70c commit ccd30d7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,6 @@ class SparkConf(loadDefaults: Boolean) extends Cloneable with Logging {
240240
/** Checks for illegal or deprecated config settings. Throws an exception for the former. Not
241241
* idempotent - may mutate this conf object to convert deprecated settings to supported ones. */
242242
private[spark] def validateSettings() {
243-
logInfo(s"Spark Version: $SPARK_VERSION")
244-
245243
if (settings.contains("spark.local.dir")) {
246244
val msg = "In Spark 1.0 and later spark.local.dir will be overridden by the value set by " +
247245
"the cluster manager (via SPARK_LOCAL_DIRS in mesos/standalone and LOCAL_DIRS in YARN)."

0 commit comments

Comments
 (0)