File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
core/src/main/scala/org/apache/spark Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -407,7 +407,7 @@ private[spark] object SparkConf extends Logging {
407407 * @param warn Whether to print a warning if the key is deprecated. Warnings will be printed
408408 * only once for each key.
409409 */
410- def translateConfKey (userKey : String , warn : Boolean = false ): String = {
410+ private def translateConfKey (userKey : String , warn : Boolean = false ): String = {
411411 deprecatedConfigs.get(userKey)
412412 .map { deprecatedKey =>
413413 if (warn) {
Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ private[history] class FsHistoryProvider(conf: SparkConf) extends ApplicationHis
4949
5050 // Interval between each check for event log updates
5151 private val UPDATE_INTERVAL_MS = conf.getOption(" spark.history.fs.update.interval.seconds" )
52- .orElse(conf.getOption(SparkConf .translateConfKey( " spark.history.fs.updateInterval" , true ) ))
53- .orElse(conf.getOption(SparkConf .translateConfKey( " spark.history.updateInterval" , true ) ))
52+ .orElse(conf.getOption(" spark.history.fs.updateInterval" ))
53+ .orElse(conf.getOption(" spark.history.updateInterval" ))
5454 .map(_.toInt)
5555 .getOrElse(10 ) * 1000
5656
You can’t perform that action at this time.
0 commit comments