HDFS-4302. Fix fatal exception when starting NameNode with DEBUG logs. Contributed by Eugene Koontz.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1428590 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2013-01-03 20:55:05 +00:00
parent 0af8890b1a
commit 228de3c987
2 changed files with 3 additions and 4 deletions

View File

@ -643,6 +643,9 @@ Release 2.0.3-alpha - Unreleased
HDFS-4349. Add test for reading files from BackupNode. (shv)
HDFS-4302. Fix fatal exception when starting NameNode with DEBUG logs
(Eugene Koontz via todd)
BREAKDOWN OF HDFS-3077 SUBTASKS
HDFS-3077. Quorum-based protocol for reading and writing edit logs.

View File

@ -122,10 +122,6 @@ long loadEditRecords(EditLogInputStream in, boolean closeOnExit,
long lastLogTime = now();
long lastInodeId = fsNamesys.getLastInodeId();
if (LOG.isDebugEnabled()) {
LOG.debug("edit log length: " + in.length() + ", start txid: "
+ expectedStartingTxId + ", last txid: " + lastTxId);
}
try {
while (true) {
try {