Duczer East
Healthcare

In-perimeter AI on governed clinical and operational data.

Financial Services

Private AI and data platforms built to clear model-risk and audit review.

Financial services

Private AI, KYC/AML, API gateways and data governance for banks.

Insurance

Change data capture, governed agents and integration for insurers.

Healthcare

PHI document intelligence, FHIR APIs and in-perimeter AI for health systems and plans.

All use cases
  1. Home
  2. Use cases
  3. Cloudera Impala and Hive
  4. Impala Workload Isolation on a Shared Cloudera Cluster
Cloudera Impala and HiveFinancial services

Impala Workload Isolation on a Shared Cloudera Cluster

Resource pools and memory limits so month-end reports stop queuing behind ad hoc queries.

The challenge

What teams are up against

Typical situation: at month-end close, finance reports on a shared Cloudera cluster take far longer than usual. Analysts run large ad hoc queries at the same time, memory fills and the report queries wait in the queue.

Our approach

How we deliver it, step by step

  1. 01

    Collect

    Query history, profiles and current pool settings.

  2. 02

    Group the workloads

    Sort queries into reporting, ad hoc and batch, with owners.

  3. 03

    Set pools

    A pool per workload with limits on running queries and memory, a per-query memory limit and a queue timeout.

  4. 04

    Fix the heaviest queries

    Review the five heaviest queries and fix the scan, join or table layout.

  5. 05

    Measure

    Compare report runtimes across a close cycle.

Architecture

The components involved

From the top of the stack down

Reports, analysts and batchCallers
Admission control poolsLimits
Impala daemonsEngine
Shared tables in the Hive MetastoreData

Impala admission control uses resource pools. Each pool has a limit on running queries, a memory ceiling, minimum and maximum per-query memory limits and a queue timeout. Queries beyond a limit wait in the queue until others finish, or are cancelled when the timeout passes.

Impalaadmission controlresource poolsHive Metastore

Outcomes

What changes when it is in place

Reporting queries protected from ad hoc load by their own pool.

Settings written down with an owner for each pool.

A before-and-after report runtime across a close cycle.

Why Duczer East

Senior practitioners, from scope to delivery

We run Impala on Cloudera and set pool memory limits together with per-query limits, which is where most first attempts at admission control go wrong.

About Duczer East

FAQ

Questions we are asked about this

Why are our Impala queries queued?

A pool has reached its limit on running queries or memory.

Do we need new hardware?

Not first. Fix pool settings and the heaviest queries, then re-measure.

Does this work with Hive too?

Hive has its own resource controls. This design covers Impala.

Let's Talk

Talk through this use case

Tell us about your systems and where you are today. A senior practitioner replies, and only your email is required.

Get a quote