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 HDFS-9259. Make SO_SNDBUF size configurable at DFSClient side for hdfs
write scenario. (Mingliang Liu via mingma) write scenario. (Mingliang Liu via mingma)
HDFS-9299. Give ReplicationMonitor a readable thread name (Staffan Friberg
via Colin P. McCabe)
OPTIMIZATIONS OPTIMIZATIONS
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than

View File

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