Symptom
- "An internal server error occurred in the Data Acquisition Service" when trying to add Databricks connection to SAC.
- Connection timeout error: "Connect to adb-XXXXXXXXXX.16.azuredatabricks.net:443 [adb-XXXXXXXXXX.16.azuredatabricks.net/1.234.567.890] failed: Connection timed out (Connection timed out)".
Environment
- SAP Analytics Cloud
- Databricks
Reproducing the Issue
- Attempt to add a new Databricks connection to SAC.
- Configure the proxy settings on the Cloud Agent host server using environment variables.
- Test connectivity by pinging the Databricks server directly from the Cloud Agent host server, which succeeds.
- Attempt to create the same connection through the SAC interface.
- Observe the connection timeout error.
Cause
- Proxy settings in the Cloud Agent environment may not be correctly recognized or utilized during the SAC-to-Databricks connection.
- Additional or specific proxy parameters may be required for the configuration.
Resolution
- Ensure the proxy configuration is correctly set in the Cloud Agent host server's environment variables.
- Configure the proxy settings at the JVM level to ensure compatibility with the Databricks JDBC driver.
- Modify the connection string for the `HttpPath` field in the JDBC URL to include proxy information in the following format:
';UseProxy=1;ProxyHost=;ProxyPort='
- Replace `` and `` with the actual proxy host and port values.
- Test the connection using the updated JDBC URL to confirm resolution.
Here is an example of what a Databricks JDBC URL would look like.
jdbc:databricks://my.prefix.databricks.com:443/default;transportMode=http;ssl=1;AuthMech=11;Auth_Flow=2;
httpPath=/sql/1.0/warehouses/<WAREHOUSE_ID>;UseProxy=1;ProxyHost=<PROXY_HOST>;ProxyPort=<PROXY_PORT>;
TokenCachePassPhrase=cache;PWD=cache;EnableTokenCache=1;
Keywords
connection timeout, data acquisition service, cloud agent, proxy configuration, azure Databricks, SAC, JDBC URL, httpPath, databricks connection , KBA , LOD-ANA-AQU , Import Data Connections (Acquiring Data) , Problem
Product
SAP Analytics Cloud 1.0
SAP Knowledge Base Article - Public