diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.HDFS-1623.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.HDFS-1623.txt index 0406f192a2..293ebf9604 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.HDFS-1623.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.HDFS-1623.txt @@ -147,3 +147,5 @@ HDFS-2853. HA: NN fails to start if the shared edits dir is marked required (atm HDFS-2845. SBN should not allow browsing of the file system via web UI. (Bikas Saha via atm) HDFS-2742. HA: observed dataloss in replication stress test. (todd via eli) + +HDFS-2870. Fix log level for block debug info in processMisReplicatedBlocks (todd) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java index ca86131882..7143118a79 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java @@ -2033,7 +2033,9 @@ public void processMisReplicatedBlocks() { neededReplications.clear(); for (BlockInfo block : blocksMap.getBlocks()) { MisReplicationResult res = processMisReplicatedBlock(block); - LOG.info("block " + block + ": " + res); + if (LOG.isTraceEnabled()) { + LOG.trace("block " + block + ": " + res); + } switch (res) { case UNDER_REPLICATED: nrUnderReplicated++;