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:34 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 ea479051f -> 954eb428f


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

Branch: refs/heads/0.98
Commit: 954eb428f2e23b4bc85b4073c845d475bd8c0c2e
Parents: ea47905
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:26 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/954eb428/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 ecb1dfd..e3b8dc9 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
@@ -146,6 +146,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