diff --git a/dev-support/hbase_nightly_pseudo-distributed-test.sh b/dev-support/hbase_nightly_pseudo-distributed-test.sh index 5241206df11f..1267a85a71ad 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" <