Symptom
- The error "ERROR_BAD_REQUEST_TO_C4A" occurs when trying to create an import connection to Databricks in SAP Analytics Cloud (SAC).
- From Catalina.log file, the following error could be found:
java.lang.UnsupportedClassVersionError: com/databricks/client/jdbc/Driver has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0.
Environment
- SAP Analytics Cloud.
- Databricks.
Reproducing the Issue
- Login to SAC.
- Go to Connections >> Add new connection to SQL Databases.
- Select the new Databricks option.
- Fill in the fields and click Create.
>>Notice the following error occurs "ERROR_BAD_REQUEST_TO_C4A".
Cause
The latest Databricks drivers are not compatible with the SAP Analytics Cloud agent runtime (Java 8).
Resolution
- Use the "Simba" version of the driver (can be downloded from JDBC Drivers Archive | Databricks ), which should be compatible.
- Follow the bellow steps in order to resolve the issue:
-
- Download the latest version of Simba JDBC Driver.
- Update the DriverConfig.properties file to the correct path of the Simba jdbc driver (.jar file).
- Restart Tomcat.
- Try to recreate the connection in SAC.
See Also
- KBA: 3702083 - Error "ERROR_BAD_REQUEST_TO_C4A" when creating Databricks connection in SAC
- Import Data Connection to an SQL Database | SAP Help Portal
Keywords
connection, bas request, jdbc driver, java, databricks, import , KBA , LOD-ANA-AQU , Import Data Connections (Acquiring Data) , Problem
Product
SAP Analytics Cloud 1.0
SAP Knowledge Base Article - Public