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

Raghav Gaur commented on SPARK-56966:
-------------------------------------

https://github.com/apache/spark/pull/56035

> History server fails to start when spark.history.fs.logDirectory does not 
> exist; auto-create the directory
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-56966
>                 URL: https://issues.apache.org/jira/browse/SPARK-56966
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 4.0.0
>            Reporter: Raghav Gaur
>            Priority: Major
>              Labels: pull-request-available
>
> When the configured {{spark.history.fs.logDirectory}} does not exist, 
> {{FsHistoryProvider.startPolling()}} throws and the history server refuses to 
> start.
> The proposed fix auto-creates the directory using {{FileSystem.mkdirs}} 
> before failing, consistent with how other Hadoop-backed tools handle a 
> missing log directory.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to