Impala admission control isolates workloads by sending each query to a resource pool, and each pool has its own limits on how many queries run at once, how many can wait, how long they wait and how much memory they may use. Use one pool per workload class, such as production reports, ad hoc analysis and batch, and give each team a way to land in its pool. Then monitor queue time, rejections and peak memory.
The settings below come from Apache Impala's admission control documentation. Cloudera Manager and Cloudera Data Warehouse expose them through different screens, and defaults differ by release, so confirm for your version.
Pools and limits
Impala documents these controls per pool:
| Setting | What it does | Documented default |
|---|---|---|
| Max running queries | How many queries run at once in the pool | Unlimited |
| Max queued queries | How many may wait | 200 in Impala 2.1 and later |
| Queue timeout | How long a query waits before it is cancelled | 60,000 ms |
| Max memory | Cluster-wide memory budget for the pool; setting it turns on memory-based admission | Not set |
| Minimum and maximum query memory limit | The per-host range Impala gives each query | Not set |
A query that would exceed a pool's limits waits in the queue. It starts when running queries finish, and it is cancelled if the queue is full or it waits too long. Impala notes that each coordinator decides on its own, using information shared through the statestore, so limits are approximate under heavy load.
Start simple:
- Set max running queries from what the hardware can take, not from what users want.
- Set a memory budget for the pool, so one pool cannot take the whole cluster.
- Set a queue timeout users can live with. A report that waits 30 seconds is often better than one that fails.
- Review after a week of real load.
Dev, test and prod isolation
The cleanest isolation is a separate cluster. When that is not possible, pools give a softer split on a shared cluster. They limit running queries and memory, but they do not stop data access, so pair them with authorization policy.
| Pool | Who uses it | Pattern |
|---|---|---|
| prod_reports | Scheduled reports and dashboards | Protected memory budget, short queue timeout, small number of heavy users |
| prod_batch | Nightly loads and extracts | Larger memory per query, run in the off-peak window |
| analysts | Ad hoc work | Limit running queries and per-query memory, long queue timeout |
| dev_test | Development and testing | Small budget and low concurrency, so tests cannot starve prod |
| admin | Operations and support | Small reserved capacity |
Map users to pools by group or by user, using the placement rules in the resource pool configuration. Our workload isolation worked example shows the reports-versus-ad-hoc case.
The exception that changes the design: if production reports must never wait, give that pool a guaranteed share and a short, low-concurrency neighbour. A pool limit only helps if the other pools cannot spend the same memory.
Queueing
Queueing is the feature, not a fault. Decide for each pool what should happen under load.
- Interactive pools: a short queue timeout and a clear error, so users retry or rephrase.
- Batch pools: a long timeout and a large queue, so jobs wait their turn.
- Reject early: a small queue is a way to say "not now" quickly.
- Tell users what the pool is: a message such as "your query waited" is better than a silent delay.
Monitoring
Impala's documentation points to the profile, the queries page of the Impala daemon web UI and the logs. They show whether a query queued, which pool it used and its estimated and actual memory.
Track these per pool each week:
- Queries run, queued and rejected.
- Median and 95th percentile queue time.
- Peak memory per query.
- Timeouts.
- Queries by user or group, to spot a new heavy user.
If a pool queues all day, either its limits are too tight or the workload belongs elsewhere. If it never queues, the limits may be too loose to protect anyone. Read the out-of-memory runbook for failures, and the tuning checklist to cut the load itself. For the service, see Impala and Hive on Cloudera.
A short rollout plan
- Record a week of current load by user and query type before you change anything.
- Create the pools and map one test group to them.
- Set limits generously at first, then tighten using the queue and memory figures you collect.
- Tell users what a queued query looks like, and who to ask when one is cancelled.
- Add the remaining groups, one at a time.
- Review pool settings monthly for the first quarter, then each quarter.
Changing every user at once makes it impossible to tell which setting caused a complaint.
Questions we hear
Does admission control stop users from reading data? No. It limits running queries and memory. Data access is controlled by authorization, such as Ranger.
Are the limits exact? Impala says each coordinator decides on its own using shared information, so limits are approximate under heavy load.
How many pools should we have? As few as match real workload classes. Start with three or four and add only when you can measure a need.
Sources checked November 27, 2026:



