Class RegionServerSnapshotManager.SnapshotSubprocedurePool

java.lang.Object
org.apache.hadoop.hbase.regionserver.snapshot.RegionServerSnapshotManager.SnapshotSubprocedurePool
Enclosing class:
RegionServerSnapshotManager

We use the SnapshotSubprocedurePool, a class specific thread pool instead of ExecutorService. It uses a ExecutorCompletionService which provides queuing of completed tasks which lets us efficiently cancel pending tasks upon the earliest operation failures. HBase's ExecutorService (different from ExecutorService) isn't really built for coordinated tasks where multiple threads as part of one larger task. In RS's the HBase Executor services are only used for open and close and not other threadpooled operations such as compactions and replication sinks.