IMPALA-14299: Remove EventCounter configurations from log4j.properties.tmpl

EventCouter has been removed in HADOOP-17254, log4j configuration should
alse be updated to avoid errors.

With this patch, a HDFS cluster could be started up with no errors after
running `./bin/create-test-configurations.sh`.

Change-Id: Id092ed7c9d1e3929daf36d05e0305d1d27de8207
Reviewed-on: http://gerrit.cloudera.org:8080/23287
Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Tested-by: Michael Smith <michael.smith@cloudera.com>
This commit is contained in:
zhangyifan27
2025-08-12 20:26:01 +08:00
committed by Michael Smith
parent 7477107ca3
commit 810ade2819

View File

@@ -20,7 +20,7 @@ hadoop.log.dir=${NODE_DIR}/var/log/hadoop
hadoop.log.file=hadoop.log
# Define the root logger to the system property "hadoop.root.logger".
log4j.rootLogger=${hadoop.root.logger}, EventCounter
log4j.rootLogger=${hadoop.root.logger}
# Logging Threshold
log4j.threshold=INFO
@@ -174,12 +174,6 @@ log4j.appender.MRAUDIT.MaxBackupIndex=${mapred.audit.log.maxbackupindex}
# Jets3t library
log4j.logger.org.jets3t.service.impl.rest.httpclient.RestS3Service=ERROR
#
# Event Counter Appender
# Sends counts of logging messages at different severity levels to Hadoop Metrics.
#
log4j.appender.EventCounter=org.apache.hadoop.log.metrics.EventCounter
#
# Job Summary Appender
#