HDFS-9299. Give ReplicationMonitor a readable thread name (Staffan Friberg via Colin P. McCabe)

This commit is contained in:
Colin Patrick Mccabe 2015-10-27 11:37:26 -07:00
parent ed9806ea40
commit fe93577faf
2 changed files with 4 additions and 0 deletions

View File

@ -1587,6 +1587,9 @@ Release 2.8.0 - UNRELEASED
HDFS-9259. Make SO_SNDBUF size configurable at DFSClient side for hdfs
write scenario. (Mingliang Liu via mingma)
HDFS-9299. Give ReplicationMonitor a readable thread name (Staffan Friberg
via Colin P. McCabe)
OPTIMIZATIONS
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than

View File

@ -491,6 +491,7 @@ public class BlockManager implements BlockStatsMXBean {
public void activate(Configuration conf) {
pendingReplications.start();
datanodeManager.activate(conf);
this.replicationThread.setName("ReplicationMonitor");
this.replicationThread.start();
mxBeanName = MBeans.register("NameNode", "BlockStats", this);
}