aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaiXinXiaoLei <huleilei1@huawei.com>2015-04-02 20:24:31 -0700
committerAndrew Or <andrew@databricks.com>2015-04-02 20:24:31 -0700
commit8a0aa81ca37d337423db60edb09cf264cc2c6498 (patch)
treeb74344f5495dd7c0a4b0fd17dff730074a17bd72
parent4b82bd730a24f96d94dfea87420cfaa4253a5ccb (diff)
downloadspark-8a0aa81ca37d337423db60edb09cf264cc2c6498.tar.gz
spark-8a0aa81ca37d337423db60edb09cf264cc2c6498.tar.bz2
spark-8a0aa81ca37d337423db60edb09cf264cc2c6498.zip
[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 <huleilei1@huawei.com> Closes #5332 from KaiXinXiaoLei/historyConfig and squashes the following commits: 5ffbfb5 [KaiXinXiaoLei] the describe of jobHistory config is error
-rw-r--r--core/src/main/scala/org/apache/spark/deploy/history/FsHistoryProvider.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/scala/org/apache/spark/deploy/history/FsHistoryProvider.scala b/core/src/main/scala/org/apache/spark/deploy/history/FsHistoryProvider.scala
index 80c9c13dde..9d40d8c8fd 100644
--- a/core/src/main/scala/org/apache/spark/deploy/history/FsHistoryProvider.scala
+++ b/core/src/main/scala/org/apache/spark/deploy/history/FsHistoryProvider.scala
@@ -118,7 +118,7 @@ private[history] class FsHistoryProvider(conf: SparkConf) extends ApplicationHis
if (!fs.exists(path)) {
var msg = s"Log directory specified does not exist: $logDir."
if (logDir == DEFAULT_LOG_DIR) {
- msg += " Did you configure the correct one through spark.fs.history.logDirectory?"
+ msg += " Did you configure the correct one through spark.history.fs.logDirectory?"
}
throw new IllegalArgumentException(msg)
}