SAP Knowledge Base Article - Public

3738918 - Error "ERROR_BAD_REQUEST_TO_C4A" occurs when trying to create an import connection to Databricks in SAC

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

  1. Login to SAC.
  2. Go to Connections >> Add new connection to SQL Databases.
  3. Select the new Databricks option.
  4. 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:
    1. Download the latest version of Simba JDBC Driver.
    2. Update the DriverConfig.properties file to the correct path of the Simba jdbc driver (.jar file).
    3. Restart Tomcat.
    4. Try to recreate the connection in SAC.

See Also

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