Athena Connector

I am trying to connect KNIME to Amazon Athena using the Amazon Authentication node followed by the Amazon Athena Connector node. However, I am encountering errors related to credential initialization and apparent incompatibilities between the Athena JDBC driver (Simba) and the AWS SDK libraries bundled with KNIME.

I have tested several configurations, but the issue persists.

Errors Encountered:

  1. Execute failed: Could not initialize class com.simba.athena.amazonaws.ClientConfiguration
  2. Execute failed: Exception getting AWS credentials: Invalid connection parameter(s):
    Could not instantiate custom credentials provider
    “org.knime.cloud.aws.athena.credentials.provider.KNIMEAWSBasicSessionCredentialsProvider”
    because it does not implement software.amazon.awssdk.auth.credentials.AwsCredentialsProvider

Thank you in advance for any guidance, compatibility recommendations, or workarounds that could help resolve this issue with the Amazon Athena Connector.

@Edna_Roco_Prez1 Welcome to the Forum.

As mentioned in the threads above, the KNIME Athena Connector currently works only with the Athena JDBC v2 driver (without the AWS SDK).
If you are using a newer Simba driver or the “with SDK” variant, this will lead to the errors.

Could you check which exact driver JAR you have installed?
If it’s not a v2 without SDK driver, please download and register that version instead, as described in the above threads.

We’re aware of this limitation, and there is an internal ticket to track this: AP-21705.

1 Like