hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s..@apache.org
Subject hadoop git commit: HDFS-7258. CacheReplicationMonitor rescan schedule log should use DEBUG level instead of INFO level. Contributed by Xiaoyu Yao.
Date Fri, 06 May 2016 21:06:25 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.6 ab4fad0d8 -> a9beec022


HDFS-7258. CacheReplicationMonitor rescan schedule log should use DEBUG level instead of INFO
level. Contributed by Xiaoyu Yao.

(cherry picked from commit 0942c99eba12f6baf5609c9621cd07b09618a97e)

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

Branch: refs/heads/branch-2.6
Commit: a9beec0221e667ed5d567977ddb5d4e8efbfcf5d
Parents: ab4fad0
Author: Haohui Mai <wheat9@apache.org>
Authored: Thu Oct 23 23:57:56 2014 -0700
Committer: Konstantin V Shvachko <shv@apache.org>
Committed: Fri May 6 14:05:00 2016 -0700

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt             | 11 +++++++----
 .../server/blockmanagement/CacheReplicationMonitor.java | 12 +++++-------
 2 files changed, 12 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/a9beec02/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 ac76337..84bdbf8 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -8,11 +8,14 @@ Release 2.6.5 - UNRELEASED
 
   IMPROVEMENTS
 
-     HDFS-9629. Update the footer of Web UI to show year 2016
-     (Xiao Chen and Vinayakumar B via vinayakumarb)
+    HDFS-9629. Update the footer of Web UI to show year 2016
+    (Xiao Chen and Vinayakumar B via vinayakumarb)
 
-     HDFS-9688. Test the effect of nested encryption zones in HDFS downgrade.
-     (zhz)
+    HDFS-9688. Test the effect of nested encryption zones in HDFS downgrade.
+    (zhz)
+
+    HDFS-7258. CacheReplicationMonitor rescan schedule log should use DEBUG
+    level instead of INFO level. (Xiaoyu Yao via wheat9)
 
   OPTIMIZATIONS
 

http://git-wip-us.apache.org/repos/asf/hadoop/blob/a9beec02/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/CacheReplicationMonitor.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/CacheReplicationMonitor.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/CacheReplicationMonitor.java
index fa5083c..a0f3503 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/CacheReplicationMonitor.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/CacheReplicationMonitor.java
@@ -166,17 +166,16 @@ public class CacheReplicationMonitor extends Thread implements Closeable
{
         try {
           while (true) {
             if (shutdown) {
-              LOG.info("Shutting down CacheReplicationMonitor");
+              LOG.debug("Shutting down CacheReplicationMonitor");
               return;
             }
             if (completedScanCount < neededScanCount) {
-              LOG.info("Rescanning because of pending operations");
+              LOG.debug("Rescanning because of pending operations");
               break;
             }
             long delta = (startTimeMs + intervalMs) - curTimeMs;
             if (delta <= 0) {
-              LOG.info("Rescanning after " + (curTimeMs - startTimeMs) +
-                  " milliseconds");
+              LOG.debug("Rescanning after {} milliseconds", (curTimeMs - startTimeMs));
               break;
             }
             doRescan.await(delta, TimeUnit.MILLISECONDS);
@@ -198,9 +197,8 @@ public class CacheReplicationMonitor extends Thread implements Closeable
{
         } finally {
           lock.unlock();
         }
-        LOG.info("Scanned " + scannedDirectives + " directive(s) and " +
-            scannedBlocks + " block(s) in " + (curTimeMs - startTimeMs) + " " +
-            "millisecond(s).");
+        LOG.debug("Scanned {} directive(s) and {} block(s) in {} millisecond(s).",
+            scannedDirectives, scannedBlocks, (curTimeMs - startTimeMs));
       }
     } catch (InterruptedException e) {
       LOG.info("Shutting down CacheReplicationMonitor.");


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message