[ 
https://issues.apache.org/jira/browse/HDDS-15912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aryan Gupta updated HDDS-15912:
-------------------------------
    Description: 
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.

  was:
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.


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

Reply via email to