Lakehouse
What a Lakehouse is, how it's built, and how to create and manage one.
Lakehouse is a DataOS Resource that combines Apache Iceberg with cloud object storage. It gives you warehouse-style management on open storage formats.
When you create a Lakehouse, DataOS provisions the storage integration, a REST Catalog backed by PostgreSQL, and the query and maintenance services (Spark Cluster and Sherpa) that run alongside it.
Key features of Lakehouse
Decoupled storage and compute: Scale storage and compute independently.
ACID support: Keep writes and reads consistent during concurrent operations.
Open table and file formats: Use Apache Iceberg for metadata and Apache Parquet for data files.
Unified workload support: Run analytics, transformation, and maintenance from one storage layer.
Managed orchestration: Bundle REST Catalog, Spark Cluster, and Sherpa as one resource.
Learn how the Lakehouse components work together in the Lakehouse architecture.
Supported storage system
Lakehouse supports Amazon S3, Azure ABFSS, and Google Cloud Storage. Each backend needs provider-specific Secrets and manifest settings.
See Storage-specific configuration to choose your backend and configure it.
Supported data formats
Lakehouse uses Apache Iceberg as the table format
Lakehouse stores data in Apache Parquet files
The Spark Cluster can also handle standalone Parquet use cases outside Lakehouse
Create a Lakehouse
A Lakehouse Resource provisions the Iceberg REST Catalog, PostgreSQL-backed metastore, object storage integration, Spark Cluster, and Sherpa.
You need a Lakehouse domain, an active lakehouse-mruntime stack, object storage credentials, and a dedicated PostgreSQL database. Choose the storage backend first, then create the required Secrets and apply the Lakehouse manifest.
Follow Create a Lakehouse for prerequisites, manifests, deployment, and verification.
Permissions to create a Lakehouse
Creating a Lakehouse requires the Tenant Admin, Data Admin, or Data Developer Tenant role. You'll also need a Can Use grant on the Compute, Secret, and Depot the Lakehouse depends on — ask their owner, or anyone holding Can Manage Access on them, if you don't already hold it.
Once created, you become the Lakehouse's owner and automatically get Can Edit and Can Manage Access on it.
See Lakehouse: permissions for the full access model, including the common access pattern and what happens after the Lakehouse exists.
Create a Lakehouse Depot
A Depot of type lakehouse connects to an existing Lakehouse instance, exposing its REST Catalog and object storage through the DataOS catalog layer. Create the Depot after the Lakehouse is running.
Follow Create a Lakehouse Depot for the prerequisites, configuration flow, and deployment steps.
Lakehouse access
Lakehouse access is managed through purposes(for example):
scanfor scanner use casesreadfor read-only accessrwfor read-write access
Access enforcement is handled by DataOS's policy engine, which evaluates policies and use-case grants before allowing catalog, namespace, or table operations.
Use a Lakehouse
Once the Lakehouse Depot is created successfully, you query it the same way you'd query any other Depot in DataOS, through a compute engine that reads from it, not through the Lakehouse resource directly. There are two ways to actually run queries against it, and they serve different purposes: Minerva is for ad hoc/interactive SQL, Vulcan is for building governed, reusable data Products on top of the same data.
Via Minerva
Minerva exposes the Depot as a Trino-compatible SQL catalog for interactive querying.
Prerequisites:
The Depot exists and its source credentials are valid.
A Minerva domain/Cluster is available in the instance.
A compute resource is available for the Minerva workload.
The querying user has access to the Lakehouse Depot (a
Can Usegrant)
Via Vulcan
Reference the Lakehouse Depot from a Vulcan project when the goal is a governed, reusable Data Product. Include it directly in a model's spec.depots[] to build Data Products on top of it.
Vulcan models run against data made available through that Depot connection. This is the right path for building semantic models for governed analytics, defining reusable metrics/dimensions for BI tools, or powering reporting that needs to stay consistent across teams.
when a Vulcan model targets a Lakehouse, the engine underneath is commonly Spark itself.
Manage a Lakehouse in DataOS
After deployment, use the Lakehouse CLI commands to monitor the Lakehouse resource, inspect datasets, and perform operational tasks.
Use the Lakehouse command reference to inspect status, manage operations, and work with datasets.
Lakehouse data access
Data in a Lakehouse is organized hierarchically. At the top level, the Lakehouse contains namespaces, each of which groups related Iceberg tables and views. Use namespaces to separate domains, teams, or environments and apply access policies at the appropriate scope.
See Manage Lakehouse data access to learn how to control access to namespaces, tables, and views.
Troubleshooting
Category
Symptom
Likely Cause
Recommended Action
Provisioning
Unable to create the Lakehouse resource.
Missing or incorrect Lakehouse domain.
Run dataos-ctl domain get -t lakehouse -a to verify the domain. If it's missing, contact your Operator or Tenant Admin for the correct domain before reapplying.
Metastore
Catalog initialization fails or metadata is not persisted.
Invalid metastore credentials or PostgreSQL is unreachable.
Verify the metastore Secret (dataos-ctl resource get -t secret) and ensure the PostgreSQL host, port, and database are reachable. Checking logs will help here. Use -d to check the metastore runtime status before assuming it's a credential issue.
Storage Access
Read/write operations fail (for example, 403 or Permission Denied).
Storage credentials are invalid or lack bucket/container permissions.
Verify that the storage Secret has the required IAM permissions for the target bucket/container. Use -b to inspect pod-level errors during write operations.
Storage Configuration
Storage access fails even though credentials are valid.
Incorrect region, endpoint, or storage scheme.
Verify the configured region, endpoint, and storage scheme (storage.s3.region, storage.s3.endpoint, storage.gcs.endpoint, abfss.endpointSuffix, etc.) against your storage account settings.
Network
Depot queries fail while the Lakehouse appears healthy.
Connectivity or DNS issues between the Depot and the Lakehouse gateway/rest-catalog.
Verify that the metastoreUrl resolves correctly from the Depot environment and that network connectivity to the gateway is available.
Last updated
Was this helpful?