Class ResourceManagerBuilder
java.lang.Object
org.apache.drill.exec.work.foreman.rm.ResourceManagerBuilder
Builds the proper resource manager and queue implementation for the configured
system options.
- If the Drillbit is embedded
- If queues are enabled, then the admission-controlled resource manager with the local query queue.
- Otherwise, the default resource manager and no queues.
- If the Drillbit is in a cluster
- If queues are enabled, then the admission-controlled resource manager with the distributed query queue.
- Otherwise, the default resource manager and no queues.
- Cluster coordinator instance
- If an instance of LocalClusterCoordinator, the Drillbit is embedded, else it is in a cluster.
- drill.exec.queue.embedded.enable boot config
- If enabled, and if embedded, then use the local queue.
- exec.queue.enable system option
- If enabled, and if in a cluster, then use the distributed queue.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ResourceManagerBuilder
-
-
Method Details
-
build
-