Skip to content

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
viper-kun committed Feb 26, 2015
1 parent 31674ee commit 7a5b9c5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ private[history] class FsHistoryProvider(conf: SparkConf) extends ApplicationHis

// Interval between each check for event log updates
private val UPDATE_INTERVAL_MS = conf.getOption("spark.history.fs.update.interval.seconds")
.orElse(Some(SparkConf.translateConfKey("spark.history.fs.updateInterval", true)))
.orElse(Some(SparkConf.translateConfKey("spark.history.updateInterval", true)))
.orElse(conf.getOption(SparkConf.translateConfKey("spark.history.fs.updateInterval", true)))
.orElse(conf.getOption(SparkConf.translateConfKey("spark.history.updateInterval", true)))
.map(_.toInt)
.getOrElse(10) * 1000

Expand Down

0 comments on commit 7a5b9c5

Please sign in to comment.