Skip to content

Commit 91e96ca

Browse files
author
Marcelo Vanzin
committed
Fix scalastyle issues.
1 parent 6fbe0d8 commit 91e96ca

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

core/src/main/scala/org/apache/spark/deploy/history/FsHistoryProvider.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,12 @@ class FsHistoryProvider(conf: SparkConf) extends ApplicationHistoryProvider
7474
// Validate the log directory.
7575
val path = new Path(logDir)
7676
if (!fs.exists(path)) {
77-
throw new IllegalArgumentException("Logging directory specified does not exist: %s".format(logDir))
77+
throw new IllegalArgumentException(
78+
"Logging directory specified does not exist: %s".format(logDir))
7879
}
7980
if (!fs.getFileStatus(path).isDir) {
80-
throw new IllegalArgumentException("Logging directory specified is not a directory: %s".format(logDir))
81+
throw new IllegalArgumentException(
82+
"Logging directory specified is not a directory: %s".format(logDir))
8183
}
8284

8385
checkForLogs()

0 commit comments

Comments
 (0)