hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject git commit: HBASE-12336 RegionServer failed to shutdown for NodeFailoverWorker thread (Liu Shaohui)
Date Thu, 30 Oct 2014 05:04:10 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 b069c10af -> 9e0ca7843


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/9e0ca784
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/9e0ca784
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/9e0ca784

Branch: refs/heads/branch-1
Commit: 9e0ca7843906690afea1962fa4cf22b2e91cb224
Parents: b069c10
Author: stack <stack@apache.org>
Authored: Wed Oct 29 22:03:26 2014 -0700
Committer: stack <stack@apache.org>
Committed: Wed Oct 29 22:04:02 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/9e0ca784/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();
   }


Mime
View raw message