hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject [1/2] hadoop git commit: HDFS-9009. Send metrics logs to NullAppender by default. (Arpit Agarwal)
Date Thu, 03 Sep 2015 18:16:44 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 538a4ddc7 -> e1842ce67
  refs/heads/trunk 0ebc65810 -> 524ba8708


HDFS-9009. Send metrics logs to NullAppender by default. (Arpit Agarwal)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/524ba870
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/524ba870
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/524ba870

Branch: refs/heads/trunk
Commit: 524ba8708b8e3e17e806748e1f819dec2183bf94
Parents: 0ebc658
Author: Arpit Agarwal <arp@apache.org>
Authored: Thu Sep 3 11:14:47 2015 -0700
Committer: Arpit Agarwal <arp@apache.org>
Committed: Thu Sep 3 11:14:47 2015 -0700

----------------------------------------------------------------------
 .../hadoop-common/src/main/conf/log4j.properties                  | 3 ++-
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                       | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/524ba870/hadoop-common-project/hadoop-common/src/main/conf/log4j.properties
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/conf/log4j.properties b/hadoop-common-project/hadoop-common/src/main/conf/log4j.properties
index 1012e20..c26fed4 100644
--- a/hadoop-common-project/hadoop-common/src/main/conf/log4j.properties
+++ b/hadoop-common-project/hadoop-common/src/main/conf/log4j.properties
@@ -152,7 +152,8 @@ log4j.appender.RFAAUDIT.MaxBackupIndex=${hdfs.audit.log.maxbackupindex}
 # NameNode metrics logging.
 # The default is to retain two namenode-metrics.log files up to 64MB each.
 #
-log4j.logger.NameNodeMetricsLog=INFO,NNMETRICSRFA
+namenode.metrics.logger=INFO,NullAppender
+log4j.logger.NameNodeMetricsLog=${namenode.metrics.logger}
 log4j.additivity.NameNodeMetricsLog=false
 log4j.appender.NNMETRICSRFA=org.apache.log4j.RollingFileAppender
 log4j.appender.NNMETRICSRFA.File=${hadoop.log.dir}/namenode-metrics.log

http://git-wip-us.apache.org/repos/asf/hadoop/blob/524ba870/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
index 275beb2..275dce2 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -1287,6 +1287,8 @@ Release 2.8.0 - UNRELEASED
     HDFS-8885. ByteRangeInputStream used in webhdfs does not override
     available(). (Shradha Revankar via aajisaka)
 
+    HDFS-9009. Send metrics logs to NullAppender by default. (Arpit Agarwal)
+
 Release 2.7.2 - UNRELEASED
 
   INCOMPATIBLE CHANGES


Mime
View raw message