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.

GuideCloudera / Data Services & AI6 min read

Hive LLAP sizing and setup on Cloudera: when it pays off

A sizing guide with the numbers to confirm for your release

Authored byCo-Founder and Managing Partner, Duczer East
Part of the Insights topic: Private AI & Data Architecture
On this page
  1. When LLAP pays off
  2. Sizing: memory first
  3. Configuration to check
  4. Monitoring
  5. A tuning loop
  6. Mistakes to avoid
  7. Sizing worksheet
  8. Questions we hear

Hive LLAP (Live Long and Process) keeps long-running daemons with cached data and ready executors, so interactive Hive queries skip container start-up and repeated reads. It pays off for many short, repeated queries over the same data. It adds little for large, infrequent batch jobs. Size each daemon so executors, cache and headroom fit inside the container, and confirm the exact settings for your Cloudera release.

The sizing rules below come from Apache Hive's LLAP documentation and from older Cloudera and Hortonworks guidance, so treat them as a starting point.

When LLAP pays off

WorkloadLLAP helps?Why
Many short queries from BI toolsYesDaemons are warm, so no container start-up per query
Repeated queries over the same hot dataYesThe cache avoids rereads
Mixed interactive load with some batchOftenNeeds queues so batch does not crowd out interactive
Large nightly ETLRarelyReads are big and once; cache hit rate is low
Queries needing sub-second answers at high concurrencyCheck ImpalaImpala is built for that pattern
Small cluster with no spare memoryNoLLAP holds memory all day

The exception that changes the choice: if the same tables serve both BI and ETL, LLAP can serve the BI side while ETL uses regular Tez containers. Our guide on Impala vs Hive covers the engine choice.

Sizing: memory first

Each LLAP daemon runs in a YARN container. Inside it sit the executors' memory (heap), an off-heap cache, and some headroom for the JVM. They must fit together.

  1. Executors: start with about one per core you give LLAP, then reduce if memory is short. Each executor runs one task at a time.
  2. Heap: executors times the memory per executor. Older guidance used around 4 GB each as a starting point.
  3. Cache: what remains after heap and headroom. The cache is a main reason to use LLAP, so a tiny cache defeats it.
  4. Headroom: leave room for JVM overhead. Older guidance suggests the smaller of 5 percent of the daemon size or 6 GB.
  5. Container size: the daemon memory plus cache must fit inside the YARN container.
  6. Number of daemons: one per node on the nodes you assign. More daemons means more parallelism and more cache.

The Cloudera community sizing article and the HDP 3.0 performance tuning guide walk through the arithmetic. They were written for HDP, so check the equivalent in your platform.

Configuration to check

  • Daemon container memory: hive.llap.daemon.yarn.container.mb.
  • Cache size: hive.llap.io.memory.size.
  • Executors per daemon: hive.llap.daemon.num.executors.
  • IO layer: hive.llap.io.enabled.
  • Queue: the YARN queue LLAP runs in, sized so it is not starved.
  • Execution mode: make sure the queries you want use LLAP, not plain Tez containers.

In Cloudera Data Warehouse, the platform sets much of this through virtual warehouse sizing. Check which settings you can change in your environment.

Monitoring

  1. Cache hit rate: low hit rates mean the cache is too small or the workload does not reuse data.
  2. Executor use: executors idle most of the day mean over-sizing.
  3. Queue waits: queries waiting for executors mean too few.
  4. YARN memory: LLAP holds memory all the time. Check that other workloads still fit.
  5. Query times before and after: record a baseline on a sample of real queries.
  6. Daemon restarts and errors: check logs for out-of-memory events in the daemons.

A tuning loop

Start with a conservative size, run a week of real queries, and read the cache and executor metrics. Then change one thing, such as cache size or executor count, and measure again. Do not copy another cluster's numbers.

For the wider picture of table layout, see Hive to Iceberg migration. For the service, see Impala and Hive on Cloudera.

Mistakes to avoid

  • Giving LLAP the whole cluster, which starves everything else on YARN.
  • Sizing from another cluster's numbers. Node size, data size and query mix all change the answer.
  • Judging LLAP on the first query of the day. The cache is cold until queries warm it.
  • Sending large ETL through LLAP because it is there.
  • Leaving the queue shared, so a runaway batch job takes the executors that interactive users need.
  • Never rechecking. Data grows, users change and the right cache size moves with them.

Sizing worksheet

Write four numbers per node before you change anything: memory given to LLAP, cores given to LLAP, the executor count you chose and the cache that remains. Then write the three results you expect: cache hit rate, queue wait and query time for ten named queries. After a week, compare. If the actual figures miss, change one input and note it. The worksheet is the record that lets the next engineer understand why the numbers are what they are.

Questions we hear

Is LLAP the same as Impala? No. Both give interactive SQL on Hadoop data, but LLAP is Hive with long-running daemons and a cache, and Impala is a separate engine. Pick by workload.

How many executors should a daemon have? Older guidance starts at one per core and reduces if memory is short. Confirm for your release and test.

Does LLAP help ETL? Rarely. Large, once-off reads gain little from a cache. It helps most for repeated interactive queries.

Sources checked November 27, 2026:

Related: Impala and Hive on Cloudera · Impala vs Hive: which engine

Frequently asked questions

Is LLAP the same as Impala?

No. Both give interactive SQL on Hadoop data, but LLAP is Hive with long-running daemons and a cache, and Impala is a separate engine. Pick by workload.

How many executors should a daemon have?

Older guidance starts at one per core and reduces if memory is short. Confirm for your release and test.

Does LLAP help ETL?

Rarely. Large, once-off reads gain little from a cache. It helps most for repeated interactive queries.

Where do I see cache hit rate?

LLAP exposes daemon metrics and a web UI. Check your Cloudera tooling for where the cache metrics appear in your release.

Authored by

Co-Founder and Managing Partner, Duczer East

David deBoisblanc is co-founder of Duczer East and a digital transformation and innovation leader in data-centric AI, agentic systems, and enterprise integration. He shapes intent-driven AI solutions that modernize how organizations use data, drawing on deep experience with Cloudera and complex enterprise integration landscapes.

Newsletter

The Practitioner's Briefing

Senior-level insights on agentic AI, data engineering and enterprise integration, delivered to your inbox.

One email when there is something worth reading. Unsubscribe any time.

Let's Talk

Want to discuss the ideas raised here?

Tell us what you are working on. A senior practitioner replies, and only your email is required.

Get a quote