hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From whe...@apache.org
Subject hadoop git commit: HDFS-9443. Disabling HDFS client socket cache causes logging message printed to console for CLI commands. Contributed by Chris Nauroth.
Date Sun, 22 Nov 2015 23:08:15 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk a6f20d80d -> 6039059c3


HDFS-9443. Disabling HDFS client socket cache causes logging message printed to console for
CLI commands. Contributed by Chris Nauroth.


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

Branch: refs/heads/trunk
Commit: 6039059c37626d3d1d231986440623a593e2726b
Parents: a6f20d8
Author: Haohui Mai <wheat9@apache.org>
Authored: Sun Nov 22 15:03:35 2015 -0800
Committer: Haohui Mai <wheat9@apache.org>
Committed: Sun Nov 22 15:03:35 2015 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hdfs/PeerCache.java           | 2 +-
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                       | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/6039059c/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/PeerCache.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/PeerCache.java
b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/PeerCache.java
index 8e34d40..1ddb42e 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/PeerCache.java
+++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/PeerCache.java
@@ -100,7 +100,7 @@ public class PeerCache {
     this.expiryPeriod = e;
 
     if (capacity == 0 ) {
-      LOG.info("SocketCache disabled.");
+      LOG.debug("SocketCache disabled.");
     } else if (expiryPeriod == 0) {
       throw new IllegalStateException("Cannot initialize expiryPeriod to " +
          expiryPeriod + " when cache is enabled.");

http://git-wip-us.apache.org/repos/asf/hadoop/blob/6039059c/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 b723ea3..60eee7d 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -2332,6 +2332,9 @@ Release 2.8.0 - UNRELEASED
     HDFS-9434. Recommission a datanode with 500k blocks may pause NN for 30
     seconds for printing info log messags.  (szetszwo)
 
+    HDFS-9443. Disabling HDFS client socket cache causes logging message
+    printed to console for CLI commands. (Chris Nauroth via wheat9)
+
 Release 2.7.3 - UNRELEASED
 
   INCOMPATIBLE CHANGES


Mime
View raw message