getting this error on a long running Databricks de...
# ask-ai
s
getting this error on a long running Databricks destination sync Warning from destination: Something went wrong in the connector. See the logs for more details. com.databricks.sdk.core.DatabricksError
k
The error message "Something went wrong in the connector. See the logs for more details. com.databricks.sdk.core.DatabricksError" is a generic error from the Databricks destination connector in Airbyte. Based on the knowledge sources, there are several known issues that can cause sync failures or errors in long-running Databricks syncs: 1. Resource Exhaustion (OutOfMemoryError): Large syncs (e.g., syncing 100+ tables or 10TB+ data) can lead to
OutOfMemoryError
even when significant resources are allocated. Users have reported that increasing memory (even up to 128Gi) does not always resolve the issue, especially with very large tables or many columns. Resource requirements may not always be respected as expected, and tuning
resource_requirements
in your deployment may help, but is not always sufficient. This is a known limitation and is being discussed in the community for further optimization options [source](https://github.com/airbytehq/airbyte/issues/45871). 2. Concurrency Issues: If multiple syncs or connections are writing to Databricks simultaneously, there can be race conditions during table creation, leading to failures. This has been addressed in newer connector versions by randomizing test table names, so upgrading to the latest connector version may help if you are running multiple concurrent syncs [source](https://github.com/airbytehq/airbyte/issues/44929). 3. Timeouts and Cluster Readiness: If the Databricks cluster is not ready when the sync starts, Airbyte may fail with a timeout. Ensuring the cluster is running before starting the sync can help avoid this issue [source](https://discuss.airbyte.io/t/1592). 4. Generic Errors: The error message you provided is generic. To diagnose further, you need to check the detailed logs from the Airbyte sync job. The logs may contain more specific error messages (e.g., memory errors, SQL exceptions, or Databricks API errors) that can help pinpoint the root cause. Next Steps: - Review the Airbyte sync logs for more detailed error messages. - Ensure your Databricks cluster has sufficient resources and is running before starting the sync. - If you are running large syncs, consider breaking them into smaller jobs or increasing resource allocations. - Upgrade to the latest version of the Databricks destination connector if you are not already using it. If you can provide more specific log output, I can help further narrow down the cause.