Package org.apache.drill.exec.work.foreman.rm


package org.apache.drill.exec.work.foreman.rm
Provides resource management and queuing support for the Drill foreman. The resource manager tracks total resources available to Drill. Several implementations are available: a default implementation for systems without queueing and an access-controlled (AC) version for systems with queues.

Each resource manager provides a per-query manager that is responsible for queuing the query (if needed) and memory allocation to the query based on query characteristics and memory assigned to the query.

Provides two different queue implementations. A distributed ZooKeeper queue and a local queue useful for embedded Drillbits (and for testing.)