HDFS-7897. Shutdown metrics when stopping JournalNode. Contributed by zhouyingchao.
This commit is contained in:
parent
c3ba44d858
commit
a4bd54f9d7
@ -2345,6 +2345,9 @@ Release 2.8.0 - UNRELEASED
|
||||
HDFS-6885. Fix wrong use of BytesWritable in FSEditLogOp#RenameOp.
|
||||
(Yi Liu via wheat9)
|
||||
|
||||
HDFS-7897. Shutdown metrics when stopping JournalNode.
|
||||
(zhouyingchao via wheat9)
|
||||
|
||||
Release 2.7.3 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -207,6 +207,8 @@ public void stop(int rc) {
|
||||
IOUtils.cleanup(LOG, j);
|
||||
}
|
||||
|
||||
DefaultMetricsSystem.shutdown();
|
||||
|
||||
if (journalNodeInfoBeanName != null) {
|
||||
MBeans.unregister(journalNodeInfoBeanName);
|
||||
journalNodeInfoBeanName = null;
|
||||
|
Loading…
Reference in New Issue
Block a user