> ## Documentation Index
> Fetch the complete documentation index at: https://docs.open-metadata.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Databricks Connector Troubleshooting

> Troubleshoot Databricks connector issues including schema extraction errors or driver failures.

## Troubleshooting

## Workflow Deployment Error

If there were any errors during the workflow deployment process, the
Ingestion Pipeline Entity will still be created, but no workflow will be
present in the Ingestion container.

* You can then Edit the Ingestion Pipeline and **Deploy** it again.
* From the Connection tab, you can also Edit the Service if needed.

## Connector Debug Troubleshooting

This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in OpenMetadata. Below are some of the most frequently observed troubleshooting scenarios.

## How to Enable Debug Logging for Any Ingestion

To enable debug logging for any ingestion workflow in OpenMetadata:

1. **Navigate to Services**
   Go to **Settings > Services > Service Type** (e.g., Database) in the OpenMetadata UI.

2. **Select a Service**
   Choose the specific service for which you want to enable debug logging.

3. **Access Ingestion Tab**
   Go to the **Ingestion tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit.

4. **Enable Debug Logging**
   In the configuration dialog, enable the **Debug Log** option and click **Next**.

5. **Schedule and Submit**
   Configure the schedule if needed and click **Submit** to apply the changes.

## Permission Issues

If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions.

## Databricks connection details

```
source:
  type: databricks
  serviceName: local_databricks
  serviceConnection:
    config:
      catalog: hive_metastore
      databaseSchema: default
      token: <databricks token>
      hostPort: localhost:443
      connectionArguments:
        http_path: <http path of databricks cluster>
  sourceConfig:
    config:
      type: DatabaseMetadata
sink:
  type: metadata-rest
  config: {}
workflowConfig:
  openMetadataServerConfig:
    hostPort: http://localhost:8585/api
    authProvider: no-auth
```

Here are the steps to get `hostPort`, `token` and `http_path`.

First login to Azure Databricks and from side bar select SQL Warehouse (In SQL section)

<img src="https://mintcdn.com/openmetadata/9SXjaLbGROaofLQU/public/images/connectors/databricks/select-sql-warehouse.png?fit=max&auto=format&n=9SXjaLbGROaofLQU&q=85&s=1efc5b20ed9b95afb1c4853c18574430" alt="Select Sql Warehouse" width="1848" height="1358" data-path="public/images/connectors/databricks/select-sql-warehouse.png" />

Now click on sql Warehouse from the SQL Warehouses list.

<img src="https://mintcdn.com/openmetadata/9SXjaLbGROaofLQU/public/images/connectors/databricks/Open-sql-warehouse.png?fit=max&auto=format&n=9SXjaLbGROaofLQU&q=85&s=b0f6f1a28bbf9634a9c2ba27e60b7ebb" alt="Open Sql Warehouse" width="1420" height="1402" data-path="public/images/connectors/databricks/Open-sql-warehouse.png" />

Now inside that page go to Connection details section.
In this page Server hostname and Port is your `hostPort`, HTTP path is your `http_path`.

<img src="https://mintcdn.com/openmetadata/9SXjaLbGROaofLQU/public/images/connectors/databricks/Connection-details.png?fit=max&auto=format&n=9SXjaLbGROaofLQU&q=85&s=e5ae663da763a973f667729e8bca8a95" alt="Connection details" width="2860" height="1338" data-path="public/images/connectors/databricks/Connection-details.png" />

In Connection details section page click on Create a personal access token.

<img src="https://mintcdn.com/openmetadata/9SXjaLbGROaofLQU/public/images/connectors/databricks/Open-create-tocken-page.png?fit=max&auto=format&n=9SXjaLbGROaofLQU&q=85&s=e0b73798df60dcb19bdfd5fa1128ef77" alt="Open create tocken" width="2860" height="1338" data-path="public/images/connectors/databricks/Open-create-tocken-page.png" />

Now In this page you can create new `token`.

<img src="https://mintcdn.com/openmetadata/9SXjaLbGROaofLQU/public/images/connectors/databricks/Generate-token.png?fit=max&auto=format&n=9SXjaLbGROaofLQU&q=85&s=d41b19665f42e97e0340d2e35bbaa401" alt="Generate tocken" width="2748" height="1068" data-path="public/images/connectors/databricks/Generate-token.png" />
