-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Kafka confluent schema registry error on startup on v415 #17299
Comments
Can you share the complete stack-trace and the catalog config file for your Kafka connector? cc: @adamjshook |
Sure, below is what i get on the 415 image. Switching back to 414 works fine.
|
Taking a look at what happened here. |
Not sure how to proceed here, thoughts @hashhar? |
Even in your PR I don't see any imports for I'll try to reproduce and see what it happening. Maybe some Confluent code is dependent on that package and calls it internally. cc: @wendigo |
But we have product tests for Kafka. The issue should be visible here. |
product tests copy those jars into the container so we probably never noticed (or noticed and then added copying without documenting it as a requirement). |
The JAR was required even in older releases but only when using actual Protobuf functionality. I reproduced by applying following patch locally: diff --git a/testing/trino-product-tests-launcher/src/main/resources/install-kafka-protobuf-provider.sh b/testing/trino-product-tests-launcher/src/main/resources/install-kafka-protobuf-provider.sh
index 3e81ba2c06..988cb48cc5 100644
--- a/testing/trino-product-tests-launcher/src/main/resources/install-kafka-protobuf-provider.sh
+++ b/testing/trino-product-tests-launcher/src/main/resources/install-kafka-protobuf-provider.sh
@@ -1,3 +1,3 @@
#!/bin/bash
set -xeuo pipefail
-cp --no-clobber --verbose /docker/kafka-protobuf-provider/* /docker/presto-server/plugin/kafka
+#cp --no-clobber --verbose /docker/kafka-protobuf-provider/* /docker/presto-server/plugin/kafka Then follow these steps: # First release with Protobuf support
git checkout 405
git apply patch.diff
./mvnw clean install -T 2C -nsu -DskipTests -Dskip.npm -Dskip.yarn
./testing/bin/ptl env up --environment multinode-kafka I tested with 405 (first release with #14734), 411 (first release with #16763), 414 (first release before #16836) and 415 (first release with #16836) and it starts failing since 415 with the following stack trace:
Now the hard part is finding what binding makes Guice try to load that class eagerly. |
So this is a regression. |
Hi, Seem to be getting the below error on startup with release 415 (Docker)
No changes from <= 414 except the upgrade of docker image to 415
could it be this affecting change?
The text was updated successfully, but these errors were encountered: