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