spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrewo...@apache.org
Subject spark git commit: [SPARK-15223][DOCS] fix wrongly named config reference
Date Mon, 09 May 2016 18:02:29 GMT
Repository: spark
Updated Branches:
  refs/heads/branch-2.0 6371197c6 -> 1b4e99ff1


[SPARK-15223][DOCS] fix wrongly named config reference

## What changes were proposed in this pull request?

The configuration setting `spark.executor.logs.rolling.size.maxBytes` was changed to `spark.executor.logs.rolling.maxSize`
in 1.4 or so.

This commit fixes a remaining reference to the old name in the documentation.

Also the description for `spark.executor.logs.rolling.maxSize` was edited to clearly state
that the unit for the size is bytes.

## How was this patch tested?

no tests

Author: Philipp Hoffmann <mail@philipphoffmann.de>

Closes #13001 from philipphoffmann/patch-3.

(cherry picked from commit 65b4ab281efd170c9fad7152629f68eaef7f7088)
Signed-off-by: Andrew Or <andrew@databricks.com>


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

Branch: refs/heads/branch-2.0
Commit: 1b4e99ff1d3a3c3bee08c776e0c62f0f0c35df92
Parents: 6371197
Author: Philipp Hoffmann <mail@philipphoffmann.de>
Authored: Mon May 9 11:02:13 2016 -0700
Committer: Andrew Or <andrew@databricks.com>
Committed: Mon May 9 11:02:23 2016 -0700

----------------------------------------------------------------------
 docs/configuration.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/1b4e99ff/docs/configuration.md
----------------------------------------------------------------------
diff --git a/docs/configuration.md b/docs/configuration.md
index 9191570..d23f0fe 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -296,7 +296,7 @@ Apart from these, the following properties are also available, and may
be useful
   <td><code>spark.executor.logs.rolling.maxSize</code></td>
   <td>(none)</td>
   <td>
-    Set the max size of the file by which the executor logs will be rolled over.
+    Set the max size of the file in bytes by which the executor logs will be rolled over.
     Rolling is disabled by default. See <code>spark.executor.logs.rolling.maxRetainedFiles</code>
     for automatic cleaning of old logs.
   </td>
@@ -308,7 +308,7 @@ Apart from these, the following properties are also available, and may
be useful
     Set the strategy of rolling of executor logs. By default it is disabled. It can
     be set to "time" (time-based rolling) or "size" (size-based rolling). For "time",
     use <code>spark.executor.logs.rolling.time.interval</code> to set the rolling
interval.
-    For "size", use <code>spark.executor.logs.rolling.size.maxBytes</code> to
set
+    For "size", use <code>spark.executor.logs.rolling.maxSize</code> to set
     the maximum file size for rolling.
   </td>
 </tr>


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


Mime
View raw message