Skip to content

Commit 8a0aa81

Browse files
KaiXinXiaoLeiAndrew Or
KaiXinXiaoLei
authored and
Andrew Or
committed
[CORE] The descriptionof jobHistory config should be spark.history.fs.logDirectory
The config option is spark.history.fs.logDirectory, not spark.fs.history.logDirectory. So the descriptionof should be changed. Thanks. Author: KaiXinXiaoLei <[email protected]> Closes apache#5332 from KaiXinXiaoLei/historyConfig and squashes the following commits: 5ffbfb5 [KaiXinXiaoLei] the describe of jobHistory config is error
1 parent 4b82bd7 commit 8a0aa81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private[history] class FsHistoryProvider(conf: SparkConf) extends ApplicationHis
118118
if (!fs.exists(path)) {
119119
var msg = s"Log directory specified does not exist: $logDir."
120120
if (logDir == DEFAULT_LOG_DIR) {
121-
msg += " Did you configure the correct one through spark.fs.history.logDirectory?"
121+
msg += " Did you configure the correct one through spark.history.fs.logDirectory?"
122122
}
123123
throw new IllegalArgumentException(msg)
124124
}

0 commit comments

Comments
 (0)