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

(cherry picked from commit fe93577faf)
This commit is contained in:
Colin Patrick Mccabe 2015-10-27 11:37:26 -07:00
parent 73612294bd
commit bb87b4222c
2 changed files with 4 additions and 0 deletions

View File

@ -751,6 +751,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

@ -468,6 +468,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);
}