From e95fa06bdad34f6ca3ec64d84722a33ca2ce992c Mon Sep 17 00:00:00 2001 From: Slava Tutrinov Date: Wed, 22 May 2024 12:10:38 +0300 Subject: [PATCH] HDDS-10898. change required conf file from log4.properties to ozone-site.xml --- 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 f9994438c2f9..b21453fa0d6b 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