diff options
author | Andrew Ash <andrew@andrewash.com> | 2016-08-09 21:11:52 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-08-09 21:11:52 -0700 |
commit | 121643bc76516041df010ca7ec7853d7731ffd25 (patch) | |
tree | 398f275f031fe2b425067db7c6dc03d292360f77 | |
parent | b89b3a5c8e391fcaebe7ef3c77ef16bb9431d6ab (diff) | |
download | spark-121643bc76516041df010ca7ec7853d7731ffd25.tar.gz spark-121643bc76516041df010ca7ec7853d7731ffd25.tar.bz2 spark-121643bc76516041df010ca7ec7853d7731ffd25.zip |
Make logDir easily copy/paste-able
In many terminals double-clicking and dragging also includes the trailing period. Simply remove this to make the value more easily copy/pasteable.
Example value:
`hdfs://mybox-123.net.example.com:8020/spark-events.`
Author: Andrew Ash <andrew@andrewash.com>
Closes #14566 from ash211/patch-9.
-rw-r--r-- | core/src/main/scala/org/apache/spark/deploy/history/FsHistoryProvider.scala | 2 |
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 110d882f05..bc09935f93 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 @@ -194,7 +194,7 @@ private[history] class FsHistoryProvider(conf: SparkConf, clock: Clock) // Validate the log directory. val path = new Path(logDir) if (!fs.exists(path)) { - var msg = s"Log directory specified does not exist: $logDir." + var msg = s"Log directory specified does not exist: $logDir" if (logDir == DEFAULT_LOG_DIR) { msg += " Did you configure the correct one through spark.history.fs.logDirectory?" } |