Repository: spark
Updated Branches:
  refs/heads/master b89b3a5c8 -> 121643bc7


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 <and...@andrewash.com>

Closes #14566 from ash211/patch-9.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/121643bc
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/121643bc
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/121643bc

Branch: refs/heads/master
Commit: 121643bc76516041df010ca7ec7853d7731ffd25
Parents: b89b3a5
Author: Andrew Ash <and...@andrewash.com>
Authored: Tue Aug 9 21:11:52 2016 -0700
Committer: Reynold Xin <r...@databricks.com>
Committed: Tue Aug 9 21:11:52 2016 -0700

----------------------------------------------------------------------
 .../scala/org/apache/spark/deploy/history/FsHistoryProvider.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/121643bc/core/src/main/scala/org/apache/spark/deploy/history/FsHistoryProvider.scala
----------------------------------------------------------------------
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 110d882..bc09935 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?"
       }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to