This is an automated email from the ASF dual-hosted git repository.

michaelsmith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git


The following commit(s) were added to refs/heads/master by this push:
     new 810ade281 IMPALA-14299: Remove EventCounter configurations from 
log4j.properties.tmpl
810ade281 is described below

commit 810ade281969faf83151bc9ee2fc117ae3cb1551
Author: zhangyifan27 <chinazhangyi...@163.com>
AuthorDate: Tue Aug 12 20:26:01 2025 +0800

    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-jenk...@cloudera.com>
    Tested-by: Michael Smith <michael.sm...@cloudera.com>
---
 .../node_templates/common/etc/hadoop/conf/log4j.properties.tmpl   | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git 
a/testdata/cluster/node_templates/common/etc/hadoop/conf/log4j.properties.tmpl 
b/testdata/cluster/node_templates/common/etc/hadoop/conf/log4j.properties.tmpl
index aa477d708..eddfbb18f 100644
--- 
a/testdata/cluster/node_templates/common/etc/hadoop/conf/log4j.properties.tmpl
+++ 
b/testdata/cluster/node_templates/common/etc/hadoop/conf/log4j.properties.tmpl
@@ -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
 #

Reply via email to