You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2014/10/30 06:03:34 UTC

git commit: HBASE-12336 RegionServer failed to shutdown for NodeFailoverWorker thread (Liu Shaohui)

Repository: hbase
Updated Branches:
  refs/heads/master 5062edebc -> d170088d9


HBASE-12336 RegionServer failed to shutdown for NodeFailoverWorker thread (Liu Shaohui)


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

Branch: refs/heads/master
Commit: d170088d981b8a588dca9b3d6aa75cb2a19b16e2
Parents: 5062ede
Author: stack <st...@apache.org>
Authored: Wed Oct 29 22:03:26 2014 -0700
Committer: stack <st...@apache.org>
Committed: Wed Oct 29 22:03:26 2014 -0700

----------------------------------------------------------------------
 .../hbase/replication/regionserver/ReplicationSourceManager.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/d170088d/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceManager.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceManager.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceManager.java
index 9a09543..ad1b088 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceManager.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceManager.java
@@ -152,6 +152,7 @@ public class ReplicationSourceManager implements ReplicationListener {
         new LinkedBlockingQueue<Runnable>());
     ThreadFactoryBuilder tfb = new ThreadFactoryBuilder();
     tfb.setNameFormat("ReplicationExecutor-%d");
+    tfb.setDaemon(true);
     this.executor.setThreadFactory(tfb.build());
     this.rand = new Random();
   }