Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported jdbc driver classname error when trying to use as custom driver in Glue #653

Closed
amichel opened this issue Sep 25, 2023 · 8 comments
Assignees
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@amichel
Copy link

amichel commented Sep 25, 2023

Describe the bug

I'm trying to use this driver as a custom driver for Glue connection, in order to connect to Aurora Postgres.
I'm using software.amazon.jdbc.Driver as a class name and jdbc:aws-wrapper:postgresql: in the URL prefix.
Glue crawler/job fail with the error "Unsupported jdbc driver classname"

Expected Behavior

It should be possible to use Aurora driver in Glue

What plugins are used? What other connection properties were set?

Default. No advanced properties can be set in Glue

Current Behavior

Glue crawler/job fail with the error "Unsupported jdbc driver classname"

Reproduction Steps

Create a new Glue Connection, using aws-advanced-jdbc-wrapper-2.2.4.jar in an S3 bucket, software.amazon.jdbc.Driver as a class name and jdbc:aws-wrapper:postgresql: in the URL prefix.
Create and run new crawler using that connection

Possible Solution

No response

Additional Information/Context

No response

The AWS Advanced JDBC Driver version used

2.2.4

JDK version used

Glue

Operating System and version

Glue

@amichel amichel added the bug Something isn't working label Sep 25, 2023
@crystall-bitquill
Copy link
Contributor

Hi @amichel,

Thanks for reaching out and raising this issue.

We'll take a look at this and keep you updated as we investigate.

Thank you for your patience!

@karenc-bq
Copy link
Contributor

Hi, @amichel, thank you for reaching out.

I am able to reproduce your issue but we unfortunately cannot provide a fix for this issue. It seems although AWS Glue say they do support custom drivers, they are checking for very specific driver class names.

It seems like AWS Glue only supports different versions of the supported datasources at the moment.

@amichel
Copy link
Author

amichel commented Oct 5, 2023 via email

@karenc-bq karenc-bq self-assigned this Oct 6, 2023
@stnorbi
Copy link

stnorbi commented Nov 14, 2023

Hi All,

I have the same issue regarding Teradata jdbc driver in case of the following JDBC Driver Class name: com.teradata.jdbc.TeraDriver

Is there any update or solution since the issue has come up?

Thank you for any reply.

Cheers,
Norbi

@karenc-bq
Copy link
Contributor

Hi @stnorbi, could you please provide more information about your workflow for clarification? Are you attempting to use this AWS JDBC Driver for Glue connection with Teradata JDBC Driver as the underlying driver?

We have previously looked into using the AWS JDBC Driver with Glue, but unfortunately we don't have any further updates as of now. We suggest you reaching out to the AWS Glue team on their repository or by emailing them at glue-connectors@amazon.com for additional support.

@karenc-bq karenc-bq added the wontfix This will not be worked on label Feb 15, 2024
@javicamarababel
Copy link

Hello

I am trying to use JDBC driver class com.ibm.as400.access.AS400JDBCDriver from https://mvnrepository.com/artifact/net.sf.jt400/jt400, and getting the same "Unsupported jdbc driver classname" when trying to create Glue Crawler.

Does this really mean that one can't use Glue with any JDBC Driver, but Glue is limited to a handful of JDBC Drivers?

@davecramer
Copy link
Contributor

@javicamarababel are you looking to use the aws-advanced driver just for authentication ?

@javicamarababel
Copy link

Hi @davecramer

I am not actually using the AWS Advanced Driver, but a custom JDBC Driver, but I came to this thread because I get the same error message. Much like @stnorbi before, I guess.

Therefore I guess my post is somewhat out of topic here, and as @karenc-bq said this is Glue issue that we should report to the Glue team... I will write to glue-connectors@amazon.com as she suggested.

Thanks and best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

6 participants