sreejasahithi opened a new pull request, #8927: URL: https://github.com/apache/ozone/pull/8927
## What changes were proposed in this pull request? In some environments, the configuration value of `hdds.datanode.dir` is only available on the server-side, but not on the client-side. As a result, when users executed commands like `ozone debug datanode container info`, the tool would fall back to the client’s default configuration, potentially leading to discrepancies or incorrect paths being used. Specifically, the command would revert to the path defined in the default configuration (dfs.datanode.data.dir), which in this case is :- `/tmp/hadoop-root/dfs/data` it would throw an error stating: ``` /tmp/hadoop-root/dfs/data/hdds/VERSION (No such file or directory) ``` with this PR's change the user will be informed about why the command failed, so the user will be able to provide the correct value. ## What is the link to the Apache JIRA [HDDS-13249](https://issues.apache.org/jira/browse/HDDS-13249) ## How was this patch tested? https://github.com/sreejasahithi/ozone/actions/runs/16872344947 -- 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]
