[
https://issues.apache.org/jira/browse/HDDS-15912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aryan Gupta resolved HDDS-15912.
--------------------------------
Fix Version/s: 2.3.0
Resolution: Fixed
> HttpFS Gateway launcher should use runtime-managed log/temp dirs instead of
> OZONE_HOME paths
> --------------------------------------------------------------------------------------------
>
> Key: HDDS-15912
> URL: https://issues.apache.org/jira/browse/HDDS-15912
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Aryan Gupta
> Assignee: Aryan Gupta
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.3.0
>
>
> HttpFS launcher currently sets {{httpfs.log.dir}} and {{httpfs.temp.dir}}
> under {{OZONE_HOME}} ({{{}${OZONE_HOME}/log{}}}, {{{}${OZONE_HOME}/temp{}}}).
> {{HttpFSServerWebApp}} initializes through {{{}ServerWebApp{}}}, and
> {{Server.init()}} validates these directories at startup. If
> {{${OZONE_HOME}/temp}} is missing, startup fails with {{{}S01: Dir .../temp
> does not exist{}}}, and Jetty stops the connector.
> Fix: switch launcher defaults to runtime-managed directories:
> * {{{}httpfs.log.dir=$\{OZONE_LOG_DIR{}}}}
> * {{{}httpfs.temp.dir=$\{OZONE_PID_DIR{}}}}
> This removes dependency on install-tree temp/log paths and makes HttpFS
> startup more robust across deployment layouts.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]