This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 6f30f2fc22 HDDS-10898. Validate OZONE_CONF_DIR by presence of
ozone-site.xml (#6713)
6f30f2fc22 is described below
commit 6f30f2fc2214744fa481f3bf3f96bc301557ff15
Author: Slava Tutrinov <[email protected]>
AuthorDate: Thu May 23 08:25:17 2024 +0300
HDDS-10898. Validate OZONE_CONF_DIR by presence of ozone-site.xml (#6713)
---
hadoop-ozone/dist/src/shell/ozone/ozone-functions.sh | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/hadoop-ozone/dist/src/shell/ozone/ozone-functions.sh
b/hadoop-ozone/dist/src/shell/ozone/ozone-functions.sh
index f9994438c2..b21453fa0d 100755
--- a/hadoop-ozone/dist/src/shell/ozone/ozone-functions.sh
+++ b/hadoop-ozone/dist/src/shell/ozone/ozone-functions.sh
@@ -687,9 +687,8 @@ function ozone_find_confdir
## @return will exit on failure conditions
function ozone_verify_confdir
{
- # Check only log4j.properties by default.
- # --loglevel does not work without logger settings in log4j.properties.
- [[ -f "${1:?ozone_verify_confir requires parameter}/log4j.properties" ]]
+ # Check ozone-site.xml by default.
+ [[ -f "${1:?ozone_verify_confir requires parameter}/ozone-site.xml" ]]
}
## @description Import the ozone-env.sh settings
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]