Raghav Gaur created SPARK-56966:
-----------------------------------
Summary: 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
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]