HDFS-7871. NameNodeEditLogRoller can keep printing 'Swallowing exception' message. Contributed by Jing Zhao.
This commit is contained in:
parent
b18d3830ac
commit
b442aeec95
|
@ -1071,6 +1071,9 @@ Release 2.7.0 - UNRELEASED
|
|||
HDFS-7785. Improve diagnostics information for HttpPutFailedException.
|
||||
(Chengbing Liu via wheat9)
|
||||
|
||||
HDFS-7871. NameNodeEditLogRoller can keep printing "Swallowing exception"
|
||||
message. (jing9)
|
||||
|
||||
BREAKDOWN OF HDFS-7584 SUBTASKS AND RELATED JIRAS
|
||||
|
||||
HDFS-7720. Quota by Storage Type API, tools and ClientNameNode
|
||||
|
|
|
@ -4558,14 +4558,16 @@ public class FSNamesystem implements Namesystem, FSNamesystemMBean,
|
|||
+ rollThreshold);
|
||||
rollEditLog();
|
||||
}
|
||||
} catch (Exception e) {
|
||||
FSNamesystem.LOG.error("Swallowing exception in "
|
||||
+ NameNodeEditLogRoller.class.getSimpleName() + ":", e);
|
||||
}
|
||||
try {
|
||||
Thread.sleep(sleepIntervalMs);
|
||||
} catch (InterruptedException e) {
|
||||
FSNamesystem.LOG.info(NameNodeEditLogRoller.class.getSimpleName()
|
||||
+ " was interrupted, exiting");
|
||||
break;
|
||||
} catch (Exception e) {
|
||||
FSNamesystem.LOG.error("Swallowing exception in "
|
||||
+ NameNodeEditLogRoller.class.getSimpleName() + ":", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue