Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Integrate with Databricks

Connect Databricks to Streambased ISK

This guide walks you through connecting Databricks to your Streambased ISK (Iceberg REST Catalog) using Apache Iceberg's Spark catalog integration.

Once configured, Databricks can access Iceberg tables exposed by your Streambased deployment, allowing you to discover and query your data using Apache Spark SQL.

Prerequisites

Before you begin, make sure you have:

  • An active Streambased deployment with ISK enabled.

  • The Iceberg REST Catalog endpoint for your Streambased deployment.

  • The S3-compatible storage endpoint for your Streambased deployment.

  • A Streambased API key and secret key.

  • Access to a Databricks workspace with permission to create or modify classic compute clusters.

  • A Databricks Runtime compatible with your Apache Iceberg libraries and Spark configuration.

Important: This guide uses a classic compute cluster configured with No Isolation Shared access mode. This configuration may not be available in all Databricks workspaces and is not recommended for environments where untrusted users share compute resources.

Step 1: Enable compute without Unity Catalog

To connect directly to Streambased ISK, first configure your Databricks workspace to allow classic compute without Unity Catalog enforcement.

  1. Sign in to your Databricks workspace.

  2. Click your profile icon in the top-right corner.

  3. Select Settings.

  4. Navigate to Compute → Classic Compute.

  5. Locate the Enforce User Isolation setting.

  6. Set Enforce User Isolation to Off.

Disabling this setting makes the No Isolation Shared access mode available when configuring classic compute clusters, subject to your workspace policies.

Security consideration: Disabling user isolation is a workspace-level security change. Confirm that this configuration is appropriate for your environment and approved by your Databricks administrator before proceeding.

Step 2: Configure a classic compute cluster

Next, create or edit the Databricks compute cluster that will connect to Streambased ISK.

  1. Navigate to Compute in your Databricks workspace.

  2. Create a new classic compute cluster or select an existing compatible cluster.

  3. Locate the Access mode setting.

  4. Select No Isolation Shared.

  5. Ensure that your cluster policy allows this access mode.

When configured correctly, the Unity Catalog indicator should no longer appear alongside the compute configuration.

This indicates that the cluster is operating without Unity Catalog integration.

Note: The Streambased catalog is configured at the Spark cluster level. It is therefore available to Spark workloads running on the configured compute, rather than being automatically registered as a Unity Catalog catalog.

Step 3: Configure the Iceberg REST Catalog

With the cluster access mode configured, the next step is to register Streambased ISK as an Apache Iceberg REST Catalog.

  1. Open your cluster configuration.

  2. Expand Advanced Options.

  3. Select the Spark tab.

  4. Locate the Spark config text area.

  5. Enter the Streambased Iceberg catalog configuration.

Spark configuration

Use the following configuration as a template, replacing the endpoint URLs and credentials with the values from your Streambased deployment.

Important: The endpoint URLs above are examples from a Streambased development deployment. Replace them with the endpoints provided for your environment. The configuration assumes that the necessary Apache Iceberg Spark and AWS libraries are available on your cluster.

Configuration reference

Property

Description

spark.sql.catalog.isk

Registers an Iceberg Spark catalog named isk

spark.sql.catalog.isk.type

Specifies rest as the catalog implementation

spark.sql.catalog.isk.uri

The Streambased Iceberg REST Catalog endpoint

spark.sql.catalog.isk.warehouse

The warehouse location used by the catalog

spark.sql.catalog.isk.rest.sigv4-enabled

Enables AWS Signature Version 4 authentication for REST requests

spark.sql.catalog.isk.rest.signing-region

The signing region for REST catalog requests

spark.sql.catalog.isk.rest.access-key-id

Your Streambased API key

spark.sql.catalog.isk.rest.secret-access-key

Your Streambased secret key

spark.sql.catalog.isk.io-impl

Configures Iceberg's S3FileIO implementation

spark.sql.catalog.isk.s3.endpoint

The S3-compatible storage endpoint exposed by Streambased

spark.sql.catalog.isk.s3.path-style-access

Enables path-style S3 requests

spark.sql.catalog.isk.s3.access-key-id

Your Streambased API key for storage access

spark.sql.catalog.isk.s3.secret-access-key

Your Streambased secret key for storage access

spark.sql.catalog.isk.cache.expiration-interval-ms

Sets the catalog metadata cache expiration interval to 10 seconds

spark.sql.extensions

Enables Apache Iceberg Spark SQL extensions

spark.sql.defaultCatalog

Sets isk as the default catalog

Understanding the configuration

Catalog endpoint

The following property tells Spark where to find your Streambased Iceberg REST Catalog:

This endpoint is responsible for catalog metadata operations, including discovering namespaces and tables.

Authentication

Streambased uses an API key and secret key to authenticate requests.

For example:

Unlike the Snowflake integration, which uses a concatenated bearer token, this configuration passes the API key and secret key separately for SigV4 signing.

The same credentials are also configured for the S3-compatible storage connection.

S3-compatible storage

The following properties configure Iceberg to access the underlying table data through Streambased's S3-compatible endpoint:

This enables Iceberg's S3FileIO implementation and configures it to use the Streambased storage endpoint rather than the default AWS S3 endpoint.

Default catalog

The following setting makes Streambased ISK the default Spark catalog:

This allows you to reference namespaces and tables without explicitly specifying the isk catalog in every query.

Security: Avoid storing production API keys and secret keys directly in shared cluster configurations where possible. Use an approved secret-management approach compatible with your Databricks Runtime and Iceberg configuration. Restrict access to clusters containing credentials.

Step 4: Configure Apache Iceberg dependencies

Your Databricks compute environment must have the Apache Iceberg libraries required by the configuration.

In particular, the setup references:

  • org.apache.iceberg.spark.SparkCatalog

  • org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions

  • org.apache.iceberg.aws.s3.S3FileIO

Ensure that your compute environment provides compatible versions of the Apache Iceberg Spark runtime and AWS integration libraries.

If these classes are not already available, install the appropriate dependencies using your Databricks cluster library configuration.

The exact dependency versions depend on the Spark and Scala versions included in your Databricks Runtime.

Note: The source setup does not specify a Databricks Runtime version or library installation procedure. Confirm compatible versions before configuring a production environment. Avoid installing incompatible Iceberg libraries alongside those already supplied by your runtime.

Step 5: Start or restart the cluster

Once the Spark configuration and required libraries have been added:

  1. Save your cluster configuration.

  2. Start the cluster if it is stopped, or restart it if it is already running.

  3. Wait for the cluster to become ready.

A restart is required for cluster-level Spark configuration changes to take effect.

If the cluster fails to start, review the cluster event logs and driver logs for configuration or dependency errors.

Step 6: Verify the connection

Once your cluster is running, verify that Spark can communicate with Streambased ISK.

  1. Create or open a Databricks notebook.

  2. Attach the notebook to your configured classic compute cluster.

  3. Run the following Spark SQL commands.

List available namespaces

This queries the Streambased catalog and returns the namespaces available to your credentials.

List tables in a namespace

Once you have identified a namespace, list its tables:

Query an Iceberg table

To verify that Spark can read table data, run a query against an available table:

Replace my_table with the names of an existing namespace and table.

If the query succeeds, Databricks can access both the catalog metadata and the underlying Iceberg table data.

Tip: Successfully listing namespaces confirms catalog connectivity, but does not necessarily confirm access to the underlying data. Run a SELECT query to verify that the S3-compatible storage configuration is working.

Step 7: Use your Streambased catalog

Your Databricks cluster is now configured to use Streambased ISK as an Iceberg REST Catalog.

You can use standard Spark SQL commands to explore and query the Iceberg tables available through your Streambased deployment.

For example:

Discover namespaces

Discover tables

Query table data

The available operations depend on the permissions associated with your Streambased credentials and the capabilities exposed by your deployment.

Because isk is configured as the default catalog, you can also reference tables using their namespace and table name:

Note: The catalog is configured on the compute cluster. Other clusters will need equivalent configuration before they can access Streambased ISK.

Need help?

If you experience issues connecting Databricks to Streambased ISK, contact Streambased Support.

When raising a support request, include:

  • Your Streambased deployment environment.

  • Your Databricks Runtime version.

  • The Iceberg REST Catalog endpoint.

  • The S3-compatible storage endpoint.

  • Any relevant Spark or Databricks error messages.

Do not include API keys, secret keys, or other sensitive credentials in support requests.

Last updated