From 0d7638d66d8db08fa5dcc19c2345ad73f551b5f2 Mon Sep 17 00:00:00 2001 From: Duo Zhang Date: Mon, 21 Mar 2022 10:01:51 +0800 Subject: [PATCH] HBASE-26870 Log4j2 integration is incorrect in nighly's client integration test (#4251) Signed-off-by: Sean Busbey --- .../hbase_nightly_pseudo-distributed-test.sh | 30 ++++++++++------------ 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/dev-support/hbase_nightly_pseudo-distributed-test.sh b/dev-support/hbase_nightly_pseudo-distributed-test.sh index 5241206df1..1267a85a71 100755 --- a/dev-support/hbase_nightly_pseudo-distributed-test.sh +++ b/dev-support/hbase_nightly_pseudo-distributed-test.sh @@ -198,23 +198,21 @@ echo "Writing out configuration for HBase." rm -rf "${working_dir}/hbase-conf" mkdir "${working_dir}/hbase-conf" -if [ -f "${component_install}/conf/log4j2.xml" ]; then - cp "${component_install}/conf/log4j2.xml" "${working_dir}/hbase-conf/log4j2.xml" +if [ -f "${component_install}/conf/log4j2.properties" ]; then + cp "${component_install}/conf/log4j2.properties" "${working_dir}/hbase-conf/log4j2.properties" else - cat >"${working_dir}/hbase-conf/log4j2.xml" < - - - - - - - - - - - - + cat >"${working_dir}/hbase-conf/log4j2.properties" <