chihsuan opened a new pull request, #447:
URL: https://github.com/apache/ozone-site/pull/447

   ## What changes were proposed in this pull request?
   
   This is the website companion to HDDS-14443 (apache/ozone#10352), which 
fixed the in-distribution docs (`ozone-env.sh`) and the `ozone` launcher script 
in the apache/ozone repo. The website hosts a separate, hand-maintained copy of 
the same environment variable information that still carried the old 
inconsistencies. This PR updates `docs/.../02-environment-variables.md` so it 
matches the actual behavior of the shell scripts:
   
   - **Role-Specific Environment Variables table:** added the rows that were 
missing: `OZONE_HTTPFS_OPTS` (HttpFS Gateway), `OZONE_CSI_OPTS` (CSI server), 
and the client/tool command opts `OZONE_SH_OPTS`, `OZONE_FS_OPTS`, 
`OZONE_ADMIN_OPTS`, `OZONE_DEBUG_OPTS`, `OZONE_FREON_OPTS`.
   - **HttpFS Gateway admonition:** the `:::note` previously stated that HttpFS 
has no dedicated opts variable and that its JVM properties must be added to the 
global `OZONE_OPTS`. That is no longer true. The note now states that 
`OZONE_HTTPFS_OPTS` is supported and behaves like the other daemons (the 
generic `ozone_subcommand_opts` handler folds `OZONE_<SUBCMD>_OPTS` into 
`OZONE_OPTS`).
   - **Common Environment Variables table:** added `OZONE_LOGLEVEL` (default 
`INFO`) for parity.
   
   No reference to the non-functional `OZONE_SECURE_LOG` variable exists on 
this page (the scripts read `OZONE_SECURE_LOG_DIR`), so no change was needed 
there. The frozen released snapshot under `versioned_docs/version-2.1.0/` was 
intentionally not modified.
   
   > Note: This documentation change reflects behavior introduced by 
apache/ozone#10352 and should be merged after that PR.
   
   ## What is the link to the Apache Jira?
   
   https://issues.apache.org/jira/browse/HDDS-15358
   
   Follow-up to HDDS-14443 (apache/ozone#10352).
   
   ## How was this patch tested?
   
   - `pnpm build` completed successfully (Server, Client, and Service Worker 
all compiled without errors).
   - Verified the local preview renders the updated table rows and the 
rewritten HttpFS admonition at 
`/docs/next/administrator-guide/configuration/basic/environment-variables`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to