File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
core/src/main/scala/org/apache/spark/deploy/history Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff 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()
You can’t perform that action at this time.
0 commit comments