Skip to content

Commit

Permalink
Make logDir easily copy/paste-able
Browse files Browse the repository at this point in the history
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 <[email protected]>

Closes apache#14566 from ash211/patch-9.
  • Loading branch information
ash211 authored and rxin committed Aug 10, 2016
1 parent b89b3a5 commit 121643b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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?"
}
Expand Down

0 comments on commit 121643b

Please sign in to comment.