[ 
https://issues.apache.org/jira/browse/SPARK-11074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14954309#comment-14954309
 ] 

Kay Ousterhout commented on SPARK-11074:
----------------------------------------

When not using YARN, Spark will first create a root directory shared by all 
applications (if it doesn't already exist), and then creates the 
application-specific subdirectory: 

https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/util/Utils.scala#L674

> Attempt to automatically create event log directory if it doesn't already 
> exist
> -------------------------------------------------------------------------------
>
>                 Key: SPARK-11074
>                 URL: https://issues.apache.org/jira/browse/SPARK-11074
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 1.5.1
>            Reporter: Kay Ousterhout
>            Assignee: Kay Ousterhout
>            Priority: Minor
>
> Right now, if the log where event logs are to be placed (spark.eventLog.dir) 
> doesn't already exist, the SparkContext fails to start.  We should try to 
> automatically create this directory.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to