Data Warehouse: Impala, Hive and Trino as virtual warehouses on premises
How Cloudera Data Warehouse on premises turns Hive, Impala and Trino into isolated, autoscaling Virtual Warehouses over a shared catalog and Ozone, when to use each engine, how BI tools and Cloudera Data Visualization connect, and what to decide before sizing one.
A bank's analytics estate rarely has one kind of user. Finance runs a few hundred heavy queries at month end, risk wants sub-second dashboards on yesterday's positions, data engineering rebuilds fact tables every night, and an auditor wants to join the core-banking extract to a table in a different database. On a classic Hadoop cluster all of those land on the same HiveServer2 and Impala daemons, and one department's bad query slows everyone else. The usual fix was a second cluster, which doubled the storage and the governance work.
Cloudera Data Warehouse (CDW) is Cloudera's answer to that problem on the containerised side of the platform. It runs the same SQL engines, Apache Hive, Apache Impala and, since 2026 on premises, Trino, as separate Virtual Warehouses on Kubernetes, each with its own compute, its own autoscaling and its own suspend timer, all reading one shared catalog and one shared data lake. This article explains what a Virtual Warehouse is, how a query moves through each engine, where Trino fits, how storage, BI tools and Cloudera Data Visualization attach, and what an architect has to decide before creating the first one. It describes the product as of October 2026: Cloudera Data Services on premises 1.5.5 with its fourth service pack.
CDW against the Base cluster
Hive and Impala have run on the Cloudera Base on premises cluster for a decade: HiveServer2 and the Impala daemons are Cloudera Manager services on dedicated hosts, and every user shares them. That is still a supported way to run SQL, and for a small estate with one team it is the simplest. CDW does not replace the engines; it repackages them.
In CDW each warehouse is a set of pods in a Kubernetes namespace on OpenShift or on Cloudera Embedded Container Service (ECS), created from the Cloudera Management Console rather than from Cloudera Manager. The Base cluster is still there underneath, providing the storage (HDFS, Apache Ozone or an S3-compatible object store), Apache Ranger, Apache Atlas and the Kerberos realm. The architecture article explains how the two halves are joined; what matters here is that CDW moves only compute into containers.
The difference that justifies the move is isolation with elasticity. A Base-cluster Impala service has a fixed set of daemons sized for the peak; a Virtual Warehouse starts small, grows when queries queue, shrinks when they stop and suspends when nobody is using it. Because each one is its own namespace with its own quota, the month-end finance workload cannot starve the risk dashboards.
The anatomy of a Virtual Warehouse
CDW has a small vocabulary, and most design conversations use four words from it.
An environment is the registration of a Base cluster with the Management Console. Activating it for CDW creates the shared services the warehouses need and points them at the Base cluster's storage, Kerberos realm, Ranger and Atlas.
A Database Catalog is the metadata layer: a Hive Metastore instance running in the CDW namespace, with its own relational database, that holds the databases, tables, partitions and Iceberg table pointers every warehouse sees. Several warehouses share one catalog, which is how a table loaded by the Data Engineering service becomes visible to an Impala dashboard without any copy.
A Virtual Warehouse is the compute: one engine, one size, one set of scaling rules, attached to exactly one Database Catalog. Three kinds exist on premises.
| Kind | What runs in the pods | Scaling unit |
|---|---|---|
| Impala | Two coordinators for high availability, a catalog service, a statestore and one or more executor groups | An executor group; by default each group runs three large queries at once, and the group size (XSMALL to LARGE) is chosen at creation |
| Hive | HiveServer2 and Hive LLAP query executors | LLAP executor nodes between a minimum and a maximum |
| Trino | A coordinator and a pool of workers | Workers between a minimum and a maximum; coordinator high availability and query-level fault tolerance are configurable since 1.5.5 SP4 |
The Cloudera Data Explorer (formerly Hue) is the SQL editor. On premises it runs as a shared service, with separate instances per team if wanted, and since SP3 it has a storage browser and a SQL AI Assistant. Analysts write and test queries here; production BI goes through drivers.
Autoscaling and auto-suspend
Each warehouse is created with a size and a node range, and the autoscaler watches the queue. For Impala, when queries wait longer than a threshold a new executor group is added, up to the maximum; when a group has been idle for the configured delay it is released. Since SP1 the quota for the maximum number of executor groups is reserved at creation, so a scale-out never fails because the cluster is full, and SP2 set a 120-second minimum on the scale-down delay to stop warehouses flapping.
Auto-suspend is on by default. When every executor group has been released and the idle timer expires, the executors stop but the coordinators and the JDBC endpoint stay up. A query arriving at a suspended warehouse is answered from the result cache if it can be, otherwise it is queued and an executor group starts to serve it: a slow first query, not a connection error. A department can therefore own a large warehouse and consume cluster capacity only during the hours it is used.
Since SP1 administrators can also dedicate labelled worker nodes with local disks to Hive and Impala pods, which keeps the scratch space for spilling off the network storage. It is off by default and is the first thing to turn on for a warehouse that handles large joins.
How a query runs in each engine
The three engines share the catalog and the storage but execute differently, and the differences decide which one a workload belongs on.
Impala is a massively parallel query engine written in C++ for low-latency SQL. A client sends a query to a coordinator over JDBC, ODBC or the Impala shell. The coordinator takes table metadata from the catalog service, which caches it from the Hive Metastore and refreshes it from metastore events, builds a distributed plan and hands fragments to the executors in one executor group. Executors read Parquet or ORC straight from Ozone, HDFS or S3 over the S3A connector, exchange partial results and stream the result back through the coordinator. Admission control, since SP1 a separate global service for high-availability warehouses, decides whether a query runs now or waits. Impala keeps data in memory where it can, which is why it answers a dashboard query in under a second and why it needs memory sized for the largest join. Since SP3 it caches intermediate results between queries on the same tables.
Hive on CDW means Hive on LLAP (Live Long and Process). HiveServer2 accepts the query, compiles it with the Calcite cost-based optimiser and submits it to long-lived LLAP daemons that keep a shared in-memory cache of columnar data and run query fragments as threads rather than as new containers. It is the engine for ACID tables with UPDATE, DELETE and MERGE, for long transformations, for compaction, and for the Iceberg v2 operations that the Iceberg lakehouse article describes: branching and tagging, snapshot expiration, copy-on-write and, since SP3, metadata repair. Hive is slower to start a query than Impala but far more forgiving of queries that would exhaust memory, because it spills.
Trino is a distributed SQL engine whose defining feature is federation. A coordinator parses and plans the query and schedules splits across workers; each worker reads through a connector, and a connector can be the Hive or Iceberg tables in the shared catalog or an entirely different system. In CDW the connectors are configured as federation connectors and attached to a Trino warehouse, where each one appears as a Trino catalog. The certified list on premises covers PostgreSQL, MySQL, MariaDB, Oracle, Teradata, Snowflake, Amazon Redshift, Hive, Iceberg and, since SP3, Hive Engine and Impala Engine connectors that push SQL to an existing warehouse. Community connectors for Kafka, ClickHouse, MongoDB, SQL Server and about twenty others are available but unsupported by Cloudera. A single query can therefore join an Iceberg fact table on Ozone to the customer dimension in an Oracle core-banking replica without an extract job.
Trino's history on premises is short. Trino Virtual Warehouses arrived in 1.5.5 SP1 as a Technical Preview, became generally available in SP2 (January 2026) with Ranger authorisation, auto-suspend, autoscaling, Ozone support and the Data Visualization integration, and Cloudera announced "Cloudera Data Warehouse with Trino" for data centres on 9 February 2026. The runtime moved from Trino 476 to 479 in SP3 and to 481 in SP4, which added an Apache Kudu connector, Kerberos for the Oracle connector, and Iceberg v3 deletion vectors and row lineage. Cloudera Data Lineage, the product that came from the Octopai acquisition, has tracked Trino federated queries since March 2026, so a report built on three systems still shows where each column came from.
Choosing an engine
Most organisations end up running two of the three, and the rule for splitting work between them is stable.
| Workload | Engine | Why |
|---|---|---|
| Dashboards, ad hoc exploration, hundreds of concurrent short queries | Impala | Lowest latency; coordinators and admission control handle concurrency; result caching; the drivers every BI tool already has |
| Nightly transformations, slowly changing dimensions, ACID updates and merges, Iceberg table maintenance | Hive | Spills instead of failing; owns the ACID and Iceberg write paths; compaction and snapshot expiry run here |
| Queries that join the lake to Oracle, PostgreSQL, Teradata or another warehouse; one SQL dialect over many sources | Trino | Federation connectors; coordinator high availability since SP4 |
| Very large scans measured in terabytes, feature engineering, anything that is really a pipeline | Neither; use Spark in Data Engineering | Batch engines schedule better and write the Iceberg tables for the warehouses to read |
One caution: Impala and Trino both read Iceberg tables that Hive or Spark wrote, but only Hive and Spark should maintain them. A table with several writers spends its time waiting on compaction.
Storage underneath
A Virtual Warehouse owns no data. It reads whatever the environment's Base cluster exposes, and on premises that is one of three things.
Apache Ozone is the direction Cloudera is pushing. The warehouses reach it through the S3A connector and the Ozone S3 Gateway, and since 1.5.5 SP3 activating an environment against an Ozone-backed Base cluster configures Hive, Impala and Trino for it without hand-edited properties. Iceberg v2 tables on Ozone are generally available for CDW, Data Engineering and Cloudera AI, which makes Ozone the natural home for a lakehouse; the Ozone object store article covers volumes, buckets, erasure coding and sizing.
HDFS still works and most existing estates start there. It is the simplest path for a cluster being upgraded in place, and the migration to Ozone can happen table by table later.
S3-compatible object stores such as NetApp StorageGRID or Dell ObjectScale are supported for Impala, which Cloudera certified against on-premises S3-compatible stores in Runtime 7.3.2. This is the route for an organisation whose storage team has already standardised on object storage; our NetApp storage and Dell AI Data Platform series cover those products.
Whatever the store, dropping a warehouse deletes pods, not tables.
Connecting BI tools and applications
Every Virtual Warehouse publishes JDBC and ODBC endpoints behind the cluster's TLS ingress; the URL and the signing certificate (JKS for Hive, PEM for Impala) come from the warehouse's tile in the console. Users authenticate with their workload credentials, the username and password the Management Console issues to each user for machine access, backed by LDAP or Active Directory; Kerberos is used between the warehouse and the Base cluster, not by the desktop client. Cloudera ships the Impala JDBC and ODBC drivers, Beeline and the Hive drivers from the console's downloads tile and recommends them over the older copies on the Base nodes.
From a BI tool's point of view an Impala warehouse looks like any Impala, so the usual connectors work: Tableau's Cloudera Hadoop connector over the Impala ODBC driver, Power BI through the same driver, Qlik, MicroStrategy and the rest. Hive warehouses are reached through the Hive JDBC and ODBC drivers over HTTP transport with TLS, and Trino warehouses expose the standard Trino JDBC endpoint that DBeaver, Superset and most modern tools already speak. Python users connect with Impyla, PyHive or the Trino client. Spark jobs in Data Engineering do not go through the warehouses at all; they read the same tables directly.
Since SP4 Hive and Impala warehouses can also export query telemetry as OpenTelemetry traces, which is the cleanest way to see which dashboard is responsible for the load; the Observability and DR article shows how Cloudera Observability consumes the same data.
Cloudera Data Visualization
Cloudera Data Visualization is the dashboarding layer that ships with CDW and with Cloudera AI. On premises it runs as its own pods in the CDW namespace and connects natively to Hive, Impala and, since SP2, Trino warehouses with the user's credentials, so Ranger policies apply to every chart. It is on the 8.x line: 8.1.2 in 1.5.5 SP3 and 8.1.4 in SP4, with Cloudera's release notes continuing to 8.1.5 in July 2026.
The product has three layers: datasets, semantic models over one or more tables where joins, measures and friendly names are defined once; visuals, the charts built on a dataset with a drag-and-drop builder; and dashboards, which assemble visuals with filters, drill-downs and scheduled export. Row-level rules in the dataset let one dashboard show each branch manager only their branch.
The AI features are what have drawn attention in 2025 and 2026. AI Visual, introduced in 8.0.0, lets a user ask a question about a dataset in plain language, by text or voice, and get a query, a chart and context back; the model behind it is an AI profile set by an administrator, which can point at a model served by Cloudera AI Inference on the same cluster so that nothing leaves the data centre. AI Annotation reached general availability in 8.0.9 (December 2025) and writes textual summaries of a visual or a whole dashboard. The February 2026 announcement added usage analytics for the AI features (latency, tokens, errors and retries), logging of each AI question with a message identifier and timestamp, redaction of sensitive request data in the logs, and administrator roles assigned by configuration rather than hard-coded accounts. For a regulated institution those are what make a natural-language interface defensible: every question is logged, and every answer is governed by the same Ranger policy as a SQL query.
Security and governance
Nothing in CDW has its own permission model. A warehouse authenticates users against the environment's identity provider, obtains a Kerberos identity for the engine, and asks Apache Ranger on the Base cluster whether each table, column and row is allowed. Ranger's Hive policies apply to Hive and Impala; Trino has its own cm_trino service in Ranger, enabled by default on premises, so a federated query is authorised per catalog and schema in the same console. Column masking and row filtering are policies, not views, so a data scientist on Trino and an analyst on Impala see the same masked national identity number. Every query is written to Ranger audit, Apache Atlas records lineage for Hive and Impala, and Cloudera Data Lineage covers Trino. The SDX and governance article goes through the policy model.
Workload isolation is the other half. Each Virtual Warehouse is a Kubernetes namespace with a resource quota, and since SP4 the namespaces carry stable labels and can be enrolled in the cluster's Istio service mesh for mutual TLS between pods. Impala's AES encryption functions (SP2) let a table store a field encrypted at the application level while the warehouse still queries it, and since SP4 the warehouses integrate with the Velero-based Data Recovery Service so that a namespace can be backed up and restored.
What to decide
How many warehouses, and for whom. The useful default is one Impala warehouse per consuming department or SLA class, one Hive warehouse for the engineering team that owns the transformations, and one Trino warehouse for the people who need federation. Sharing a warehouse between departments reintroduces the problem CDW was bought to solve; giving every team three warehouses wastes the cluster.
Sizing. Start with the smallest Impala size that holds the largest join in memory, measured on a representative query, and set the node range from one executor group to the number the month-end peak needs. Trino workers should be sized for the widest federation, since a join across Oracle and Ozone materialises on the workers. Reserve cluster capacity for the maximum of every warehouse together, because CDW reserves that quota on creation.
Idle timeouts and the cache. A dashboard warehouse wants a long idle timeout during business hours and a short one at night. Result caching turns repeated executive dashboard refreshes into no-ops, but a suspended warehouse may then answer a stale question first; decide what staleness is acceptable.
Storage. A new deployment should put its lakehouse tables on Ozone or a certified S3-compatible store and use Iceberg v2 from the first table. An upgrade should keep HDFS for the first year and migrate tables as they are rebuilt. Either way, put local disks on the executor nodes and enable the dedicated node allocation.
Where the data may go. For a Bangladeshi bank or government body the warehouses, the catalog and the storage all sit inside the data centre, and Trino's federation lets an on-premises warehouse query a remote system without copying data into it. Exposing lake tables to an outside engine through Iceberg REST catalog sharing is the reverse direction and should be a deliberate decision with the regulator in mind. Bangla text is a matter of UTF-8 storage and collation when sorting.
Base-cluster SQL or CDW. A single team with one Impala service on a Base cluster does not need CDW. The moment a second team wants its own capacity, or Trino federation is on the requirements list, it does, and that means the Data Services layer the Installing on OpenShift article covers.
Further reading
- Cloudera Data Warehouse on premises 1.5.5 documentation
- What's new in 1.5.5 SP1: Trino Technical Preview, autoscaling, shared Hue
- What's new in 1.5.5 SP2: Trino general availability
- What's new in 1.5.5 SP3: automated Ozone integration, Trino 479
- What's new in 1.5.5 SP4: OpenTelemetry export, Trino 481, Data Visualization 8.1.4
- Trino federation connectors
- Auto-scaling Impala Virtual Warehouses
- Cloudera Data Visualization 8.0.9 release notes
- Cloudera press release, 9 February 2026
In this series
- Previous: Data Engineering, the Spark and Airflow service that writes the tables these warehouses read
- Next: Data Flow, Apache NiFi for getting data into the lake
- Iceberg lakehouse, the table format all three engines share
- Ozone object store, the storage the warehouses read over S3A
- SDX and governance, the Ranger and Atlas policies that apply to every query
- Cloudera: the complete overview
- Related: our lakehouse service, and the RAPIDS overview for the GPU side of analytics