Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22504#discussion_r231346161
  
    --- Diff: docs/configuration.md ---
    @@ -266,6 +266,40 @@ of the most common options to set are:
         Only has effect in Spark standalone mode or Mesos cluster deploy mode.
       </td>
     </tr>
    +<tr>
    +  <td><code>spark.driver.log.dfsDir</code></td>
    +  <td>(none)</td>
    +  <td>
    +    Base directory in which Spark driver logs are synced, if 
<code>spark.driver.log.persistToDfs.enabled</code>
    +    is true. Within this base directory, each application logs the driver 
logs to an application specific file.
    +    Users may want to set this to a unified location like an HDFS 
directory so driver log files can be persisted
    +    for later usage. This directory should allow any Spark user to 
read/write files and the Spark History Server
    +    user to delete files. Additionally, older logs from this directory are 
cleaned by
    +    <a href="monitoring.html#spark-history-server-configuration-options"> 
Spark History Server</a>  if
    +    <code>spark.history.fs.driverlog.cleaner.enabled</code> is true and, 
if they are older than max age configured
    +    at <code>spark.history.fs.driverlog.cleaner.maxAge</code>.
    --- End diff --
    
    s/at/by setting


---

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

Reply via email to