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

[fix](connector) fix no suitable driver found issue when getting fe jdbc connection #1

Closed
wants to merge 9 commits into from

Conversation

gnehil
Copy link
Owner

@gnehil gnehil commented Jan 3, 2025

Proposed changes

Issue Number: close #xxx

Problem Summary:

Sometimes, even though the MySQL driver jar is included in the classpath, a "No suitable driver found" exception is thrown when calling the DriverManager.getConnection method.
So it is still necessary to call the Class.forName method to load the driver before getting the connection.

Checklist(Required)

  1. Does it affect the original behavior: (Yes/No/I Don't know)
  2. Has unit tests been added: (Yes/No/No Need)
  3. Has document been added or modified: (Yes/No/No Need)
  4. Does it need to update dependencies: (Yes/No)
  5. Are there any changes that cannot be rolled back: (Yes/No)

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

gnehil and others added 9 commits December 24, 2024 17:20
Currently, Spark Load is integrated into the Doris core, which brings the following problems:

Due to the reliance on Spark-related dependencies, the security issues of Spark itself will cause security issues in Doris
When modifying the content of Spark ETL, it also depends on the version release of Doris, which is not conducive to rapid expansion and problem repair

The reliance on Hadoop ecosystem also increases the complexity of the Doris system
Therefore, separating the task submission, management, and Spark DPP processing of Spark Load from the Doris core will help reduce the complexity of the Doris core and also help unify Doris's Spark ecosystem tools.
* fix unstable ut

* fix unstable ut

* fix doris catalog init config table check failed
@gnehil gnehil closed this Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants