소스 검색

HADOOP-3399. A debug message was logged at info level. (rangadi)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@656939 13f79535-47bb-0310-9956-ffa450edef68
Raghu Angadi 17 년 전
부모
커밋
e0e6801817
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 0
      CHANGES.txt
  2. 3 1
      src/java/org/apache/hadoop/ipc/Client.java

+ 2 - 0
CHANGES.txt

@@ -273,6 +273,8 @@ Trunk (unreleased changes)
     close its log, even if the scanner thread is not running. (lohit vijayarenu
     close its log, even if the scanner thread is not running. (lohit vijayarenu
     via cdouglas)
     via cdouglas)
 
 
+    HADOOP-3399. A debug message was logged at info level. (rangadi)
+
 Release 0.17.0 - 2008-05-18
 Release 0.17.0 - 2008-05-18
 
 
   INCOMPATIBLE CHANGES
   INCOMPATIBLE CHANGES

+ 3 - 1
src/java/org/apache/hadoop/ipc/Client.java

@@ -283,7 +283,9 @@ public class Client {
       short ioFailures = 0;
       short ioFailures = 0;
       short timeoutFailures = 0;
       short timeoutFailures = 0;
       try {
       try {
-        LOG.info("Build a connection to "+remoteId.getAddress());
+        if (LOG.isDebugEnabled()) {
+          LOG.debug("Connecting to "+remoteId.getAddress());
+        }
         while (true) {
         while (true) {
           try {
           try {
             this.socket = socketFactory.createSocket();
             this.socket = socketFactory.createSocket();