Aryan Gupta created HDDS-15912:
----------------------------------

             Summary: 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


HttpFS startup can fail in parcel deployments because the launcher sets 
{{httpfs.log.dir}} and {{httpfs.temp.dir}} under {{OZONE_HOME}} 
({{{}${OZONE_HOME}/log{}}}, {{{}${OZONE_HOME}/temp{}}}). {{HttpFSServerWebApp}} 
still initializes through {{{}ServerWebApp{}}}, and {{Server.init()}} validates 
these directories. If {{${OZONE_HOME}/temp}} is missing, startup fails with 
{{{}S01: Dir .../temp does not exist{}}}, and Jetty stops the connector, making 
the HttpFS port unavailable.

Fix is to use runtime-managed launcher directories instead:
 * {{httpfs.log.dir=${OZONE_LOG_DIR}}}
 * {{httpfs.temp.dir=${OZONE_PID_DIR}}}

This avoids mutable runtime paths under install directory and keeps HttpFS 
startup stable across parcel/CM environments.



--
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