-
Notifications
You must be signed in to change notification settings - Fork 99
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
SNOW-989387 Connectors errored out after updating to v2.1.2 #764
Comments
Hi @cchandurkar, That issue is related to a JDK 21 compatibility problem that was only fixed in the JDBC driver version 3.14.4. Please refer to the JDBC issue 1512. The only way around this for now is to point to another JDK version lower than 21. |
Thanks for prompt response @sfc-gh-wfateem I can confirm that I'm on openjdk 17 and not 21.
|
Looks like I might have skimmed your error stack too quickly. That's a slightly different issue: But I would have expected the same issue in v2.1.0. I'll need to look into this a bit more closely, but in the meantime, can you try doing the following and restart your connector in case you're running that on a standalone Kafka Connect server, or restart your Kafka Connect cluster if that's running in distributed mode? |
@cchandurkar that won't work. We basically need to get that into the kafka-run-class.sh script positioned right after the Java command, so a workaround is to do this instead: That at least works for me on an Apache Kafka 3.4 environment. I don't believe that script changed a whole lot between versions. |
This is caused by the changes in #750 to address a significant issue. It requires submitting a query using the JDBC driver and process the results which causes this problem. Workaround for JDK 16 is: Workaround for JDK 17 and higher: |
@sfc-gh-wfateem hey thanks. That worked 🙌🏼 |
Hey @cchandurkar, |
Hi @sfc-gh-wfateem , Error log:
Open JDK version:
Is there a similar fix for OpenJDK version 11 as there is for versions 16 and 17+? |
@lsimac you're experiencing a different issue. The change causing this is the same, but your problem is unrelated to the JDK. The Kafka Connector is running a SQL statement and that looks like it might have failed. Is it resolved once and for all, or are you continuously running into this problem? If it's the latter, then can I ask you to open a support ticket with us so we can take a closer look? We'll need more information from you to be able to understand what happened in your particular scenario. |
@sfc-gh-wfateem , Thank you for the support. Currently, it seems like the issue is resolved permanently. However, we are in the process of migrating our connectors to Snowpipe Streaming, so we will monitor them to see if the issue reappears. If it does, we will open a support ticket. |
Howdy --- We are using the managed Confluent Cloud connector, and seem to be having the exact same issues as detailed above. We have an open support issue with Confluent at the moment. Version is 2.1.2 as well. Any suggestions? |
Hey @devin-hc, The other one is going to be situational for every account and might be transient: If you're using Confluent Cloud then I doubt you're running into the first issue, because I believe that's using a JDK 11 environment, so you wouldn't run into the first problem. Do you have the exact error you're running into? |
Hi @sfc-gh-wfateem Thank you for the response. Since Friday (when I think Confluent upgraded to 2.1.2) we've been getting a variety of errors:
And
Being the two recurring ones. Data is still flowing in, just some of the tasks will sit in a failure state and backlogged messages will sometimes build up. Confluent support has hooked in their engineering folks, so that's a good sign. FWIW, on the Snowflake side, we haven't changed permissioning, roles, etc. Also confirmed/double checked the applicable network policies/rules. Problem isn't there. |
@devin-hc the first issue might have been a transient problem, it just depends if that's something you consistently run into or if it was just a one time problem. It's something we would have to look into for you. The second problem is highly likely a problem with the connector that we addressed recently with PR #744. As a workaround you can set the following Kafka connector configuration: The fix should be included in the next release which I believe will be sometime in January. |
Thank you for the followup/info, @sfc-gh-wfateem ! I'll add your note about the streaming.client.optimization param to our open Confluent ticket. Should I open a Snowflake support case about the first issue? Both are popping up pretty consistently now. |
@devin-hc yes, if that first error is consistently occurring for you then please go ahead and open a case with us. |
Thank you again for the help with this. Our issue is resolved (including 400s) without looping Snowflake support.
Appreciate the help! |
This is fixed by #774 which has been merged. |
Updated to v2.1.2 from v2.1.0 and connectors are erroring out with following error:
The text was updated successfully, but these errors were encountered: