Use Impala for interactive and dashboard queries, and Hive on Tez for long ETL and batch jobs. Both read the same tables through the Hive Metastore, so you do not have to pick one for the whole estate. This guide gives a decision table, the table-type rules that decide which engine can write what, and the exceptions that change the answer.
Workload fit
Cloudera describes Impala as high-performance, low-latency SQL on data in common Hadoop file formats. Its daemons stay running and execute queries in parallel, which suits queries that must return in seconds. Hive on Tez suits large, long-running jobs where reliability and rerunning a failed fragment matter more than the first row. Cloudera's older Impala guides say it complements Hive and does not replace it for batch ETL.
Which Hive mode you get depends on where you run. Cloudera documents that in Cloudera Data Warehouse, Hive runs in LLAP mode, where Tez asks a long-running LLAP daemon for a free thread. In Cloudera Data Hub and Cloudera Base on premises, Hive runs in container mode, where Tez requests a YARN container for each query, and LLAP mode is not supported. So on an on-premises estate, "Hive with caching" is not on the menu, and Impala is the low-latency engine. MapReduce is not supported as a Hive engine.
Concurrency and admission control
Many users on Impala at once compete for memory. Impala admission control works per resource pool, and the Apache Impala documentation lists the levers:
| Setting | What it does | Documented default |
|---|---|---|
| Max Running Queries | Caps queries running at once in a pool; the rest queue | Unlimited |
| Max Queued Queries | Caps the queue; queries beyond it are cancelled | 200 |
| Queue Timeout | How long a query may wait before it is cancelled | 60,000 ms |
| Max Memory | Cluster-wide memory cap for the pool; a non-zero value turns on memory-based admission | Not set |
| Min and Max Query Memory Limit | The range Impala picks a per-host limit from, based on its estimate of the query | Not set |
A pool without both a running-query limit and a memory limit is the usual cause of "the cluster is slow" at month-end. Users reach a pool through the REQUEST_POOL query option, and you map users and groups to pools in the fair-scheduler file. See a workload isolation example. Confirm the defaults on your release.
Metadata and security
Both engines use the Hive Metastore and Ranger policies, so a table definition and a rule apply to both. Impala caches metadata, so changes made outside Impala need a refresh before Impala sees them:
- REFRESH reloads a table Impala already knows. Use it after Hive adds data files or changes partitions. It is incremental, and a single partition can be refreshed.
- INVALIDATE METADATA discards the cached metadata for a table. Use it when a table was created in Hive and Impala has not seen it yet. It is cheap to issue, but the next queries pay to reload.
- ALTER TABLE RECOVER PARTITIONS is a faster option when you only added new partition directories.
Build the refresh into the job that wrote the data, so analysts never see stale results.
Table types decide who can write
Hive and Impala handle ACID tables differently, and this often decides the split.
| Table type | Hive | Impala |
|---|---|---|
| Insert-only managed table | Reads and writes | Reads and writes. This is the default managed type Impala creates |
| Full ACID ORC table | Reads and writes, including row-level changes | Reads only (Runtime 7.2.2 or later, with a Hive Metastore connection). It cannot create or write them, and it does not support ACID v1 |
| External table | Reads and writes | Reads and writes |
| Iceberg table | Reads and writes | Reads and writes. Check feature support in your release |
Cloudera also notes that full ACID tables collect delta files as data arrives, so someone must manage their compaction. If your batch layer writes full ACID tables in Hive, Impala dashboards can still read them, but write jobs stay in Hive or Spark.
Cost
Interactive engines need memory kept free for the peak. Batch engines can use spare capacity at night. Splitting by workload lets each use the hardware it suits. Cluster cost is mostly a licensing and sizing question, covered on Cloudera pricing and licensing.
Decision table
| Workload | Start with | The exception |
|---|---|---|
| Dashboards and analyst queries | Impala | Add admission control pools at high concurrency |
| Nightly ETL | Hive on Tez or Spark | Short, frequent loads may finish sooner on Impala or Spark |
| Mixed reporting and ad hoc | Impala with separate pools | Set a per-query memory limit with the pool memory limits |
| Row-level updates on full ACID tables | Hive | Impala can read the result but not write it |
| Warehouse with caching | Hive LLAP in Cloudera Data Warehouse | Not available on Cloudera Base on premises, where Hive runs in container mode |
| Shared new tables | Iceberg, read by both | Check feature support in your release |
How to choose for your estate
- List the top 20 queries and jobs by business value and note the latency each one needs.
- Tag each as interactive, batch or mixed, and note the table types it touches.
- Check where it runs: Cloudera Data Warehouse, Data Hub or Base on premises.
- Create one Impala pool per audience, with a running-query limit and a memory limit.
- Replay your own queries on both engines before you move anything.
- Write down the refresh rule for every pipeline that Impala reads after Hive.
Questions we hear
Can Impala and Hive share one table? Yes, through the Hive Metastore, within the table-type rules above.
Is one faster in general? No honest answer exists without your data. Benchmark your own queries before you change anything.
Whichever engine you choose for new tables, consider Iceberg. See Hive to Iceberg migration steps, the Impala and Hive page and, for keeping tables fast, the Iceberg maintenance runbook.




