From 3a8d372518aefe3d25fc9107ae0220d6de8fa736 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Tue, 19 Jan 2016 13:31:26 +0900 Subject: [PATCH] HDFS-9623. Update example configuration of block state change log in log4j.properties. Contributed by Masatake Iwasaki. (cherry picked from commit 92c5f565fd5466eab4496c2413de2e8b2897a91f) --- .../hadoop-common/src/main/conf/log4j.properties | 4 ++-- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) 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 299caa85160..dc7e7057c9c 100644 --- a/hadoop-common-project/hadoop-common/src/main/conf/log4j.properties +++ b/hadoop-common-project/hadoop-common/src/main/conf/log4j.properties @@ -98,9 +98,9 @@ log4j.appender.TLA.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n # # HDFS block state change log from block manager # -# Uncomment the following to suppress normal block state change +# Uncomment the following to log normal block state change # messages from BlockManager in NameNode. -#log4j.logger.BlockStateChange=WARN +#log4j.logger.BlockStateChange=DEBUG # #Security appender diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index b2e054782e7..be0504c633d 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -1713,6 +1713,9 @@ Release 2.8.0 - UNRELEASED HDFS-9612. DistCp worker threads are not terminated after jobs are done. (Wei-Chiu Chuang via Yongjun Zhang) + HDFS-9623. Update example configuration of block state change log in + log4j.properties. (Masatake Iwasaki via aajisaka) + Release 2.7.3 - UNRELEASED INCOMPATIBLE CHANGES