HBASE-12336 RegionServer failed to shutdown for NodeFailoverWorker thread (Liu Shaohui)
This commit is contained in:
parent
b069c10af4
commit
9e0ca78439
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user