Skip to content

Commit

Permalink
Merge pull request #4 from Shopify/shs-sql-2.3
Browse files Browse the repository at this point in the history
Loading all the plugins when creating the UI
  • Loading branch information
pfryerdavis authored Jan 11, 2019
2 parents d9573d9 + 0a77210 commit 57f77bd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ private[history] class SimpleFsHistoryProvider(conf: SparkConf, clock: Clock)
attemptInfo.info.startTime.getTime(),
attemptInfo.info.appSparkVersion
)

loadPlugins().foreach(_.setupUI(ui))

LoadedAppUI(ui)
})
})
Expand All @@ -141,7 +142,6 @@ private[history] class SimpleFsHistoryProvider(conf: SparkConf, clock: Clock)
// actually read, we may never refresh the app. FileStatus is guaranteed to be static
// after it's created, so we get a file size that is no bigger than what is actually read.
Utils.tryWithResource(EventLoggingListener.openEventLog(logPath, fs)) { in =>
logInfo("Trying to replay bus: $isCompleted, $eventsFilter")
bus.replay(in, logPath.toString, !isCompleted, eventsFilter)
logInfo(s"Finished parsing $logPath")
}
Expand Down

0 comments on commit 57f77bd

Please sign in to comment.