-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Hotfix][Connector-V2][Jdbc] Flink engine, source is LocalFile, sink … #6990
base: dev
Are you sure you want to change the base?
Conversation
Could you investigate why the LocalFile is behaving in such a peculiar manner? |
@@ -92,6 +92,7 @@ public MultiTableResourceManager<ConnectionPoolManager> initMultiTableResourceMa | |||
ds.setPassword(jdbcSinkConfig.getJdbcConnectionConfig().getPassword().get()); | |||
} | |||
ds.setAutoCommit(jdbcSinkConfig.getJdbcConnectionConfig().isAutoCommit()); | |||
ds.setDriverClassName(jdbcSinkConfig.getJdbcConnectionConfig().getDriverName()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need this part? Because flink e2e work fine without this change. (E2E use same logic to submit job)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I debug into DriverDataSource init,if the driverClassName is not null it worked fine. Please look the issues (#6902)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you use flink with standalone mode?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the version is 1.16.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you use flink standalone mode, I suggest putting the driver under flink/libs, otherwise flink may have the risk of memory leaks.
…is jdbc, get "No suitable driver" Exception fix (apache#6902)
…is jdbc, get "No suitable driver" Exception fix (#6902)
Purpose of this pull request
Does this PR introduce any user-facing change?
How was this patch tested?
Check list
New License Guide
release-note
.