소스 검색

HDFS-4252. Merge 1415879 from branch-1 to branch-1.1

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.1@1415880 13f79535-47bb-0310-9956-ffa450edef68
Suresh Srinivas 12 년 전
부모
커밋
eaa8a6278f
2개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      CHANGES.txt
  2. 3 0
      src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSEditLog.java

+ 3 - 0
CHANGES.txt

@@ -8,6 +8,9 @@ Release 1.1.2 - 2012.11.18
 
   IMPROVEMENTS
 
+    HDFS-4252. Improve confusing log message that prints exception when editlog 
+    read is completed. (Jing Zhao via suresh)
+
   BUG FIXES
 
     HDFS-3727. When using SPNEGO, NN should not try to log in using KSSL

+ 3 - 0
src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSEditLog.java

@@ -584,6 +584,9 @@ public class FSEditLog {
             break; // no more transactions
           }
         } catch (EOFException e) {
+          LOG.info("EOF of " + edits.getName() + ", reached end of edit log "
+              + "Number of transactions found: " + numEdits + ".  "
+              + "Bytes read: " + tracker.getPos());
           break; // no more transactions
         }
         recentOpcodeOffsets[numEdits % recentOpcodeOffsets.length] =