Documentation

DataBricks - Troubleshooting

Updated on

Oct 10, 2024

While configuring your DataBricks connection, you may encounter several issues. Understanding these common errors can help streamline the setup process and facilitate quick resolutions.

Wrong input data

  • wrong/invalid server hostname
  • firewall issue

Error message:

{%docs-informer error%} "Check that your hostname was provided correctly. If your database is behind a firewall, make sure you whitelisted our IP's and select "Use static IP = YES" in connection parameters. Check that your hostname was provided correctly. If your database is behind a firewall, make sure you whitelisted our IP's and select "Use static IP = YES" in connection parameters." {%docs-informer-end%}

General solution

Hostname Verification:

  • Confirm the hostname is entered correctly in your DataBricks connection settings.

Firewall Configuration:

  • Ensure your firewall has whitelisted the necessary IP addresses for DataBricks access.
  • Set "Use static IP = YES" in the DataBricks connection parameters to maintain a consistent IP address during connections.
Refer to the documentation if necessary.

Token issues

  • Wrong Databricks access token
  • Token without write permission
  • Token without delete permission
  • Filepath to a forbidden directory

Error message:

{%docs-informer error%} "Check that your hostname was provided correctly. If your database is behind a firewall, make sure you whitelisted our IP's and select "Use static IP = YES" in connection parameters." {%docs-informer-end%}

Solution

Access Token Validation:

  • Double-check the access token for correctness. Tokens must be exact, with no errors in character entry.

Ensure Adequate Permissions:

  • Verify that the token permissions include ```WRITE``` and ```DELETE``` capabilities required for DataBricks operations.

Test Token Functionality:

  • After validation and permission checks, perform a test run to ensure the token works as expected for operations in DataBricks.

Wrong permissions

Error message:

{%docs-informer error%} "PERMISSION_DENIED: User does not have MODIFY on Table" {%docs-informer-end%}

Solution

Grant MODIFY Privileges:

  • You need to assign MODIFY permissions to the Databricks user on the table in question. To do this, use the GRANT SQL command to allow the necessary privileges:
    ```GRANT MODIFY ON TABLE uc_analytics_stage.de_advantage.im_test_table_check_connection TO <user>```.
  • For further details, you can check the Databricks GRANT documentation in Microsoft Learn or in the Databricks documentation.

Ensure Correct Role and Permissions:

  • Double-check that the user has the correct role and permissions to manage this table. In Unity Catalog, privileges may also need to be inherited from a higher-level securable object (like a schema or catalog), depending on your organization's setup. More on this can be found in the Unity Catalog Privileges documentation.
  • Once these permissions are granted, re-authorize the connection in the Improvado interface.

{%docs-informer info%} If none of the provided solutions worked, feel free to raise a request via the Service Desk {%docs-informer-end%}

Schema information

Setup guide

Settings

No items found.

Troubleshooting

Troubleshooting guides

Check out troubleshooting guides for
DataBricks - Troubleshooting
here:

Limits

Frequently asked questions

No items found.
☶ On this page
Description
Related articles
No items found.
No items found.

Questions?

Improvado team is always happy to help with any other questions you might have! Send us an email.

Contact your Customer Success Manager or raise a request in Improvado Service Desk.