Repository: hadoop
Updated Branches:
  refs/heads/branch-2 73612294b -> bb87b4222


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

(cherry picked from commit fe93577faf49ceb2ee47a7762a61625313ea773b)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/bb87b422
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/bb87b422
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/bb87b422

Branch: refs/heads/branch-2
Commit: bb87b4222c75cf1f3b7ac5e0323da0f5f21233ff
Parents: 7361229
Author: Colin Patrick Mccabe <cmcc...@cloudera.com>
Authored: Tue Oct 27 11:37:26 2015 -0700
Committer: Colin Patrick Mccabe <cmcc...@cloudera.com>
Committed: Tue Oct 27 11:37:54 2015 -0700

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                       | 3 +++
 .../apache/hadoop/hdfs/server/blockmanagement/BlockManager.java   | 1 +
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/bb87b422/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt 
b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
index d19ba63..c7a867a 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -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

http://git-wip-us.apache.org/repos/asf/hadoop/blob/bb87b422/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
----------------------------------------------------------------------
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
index 74277ef..11c556d 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
@@ -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);
   }

Reply via email to