saramorsi opened a new issue, #14674:
URL: https://github.com/apache/iceberg/issues/14674

   ### Apache Iceberg version
   
   1.9.2
   
   ### Query engine
   
   Kafka Connect
   
   ### Please describe the bug 🐞
   
   I’m running into this issue when trying to deploy the target connector using 
the self-hosted zip here: 
https://www.confluent.io/hub/iceberg/iceberg-kafka-connect.
   Has anyone run into this issue before? If so, what should I be checking to 
make sure the Iceberg class is found.
   ```
   Caused by: java.lang.NoClassDefFoundError: org/apache/iceberg/IcebergBuild
        at 
org.apache.iceberg.connect.IcebergSinkConfig.version(IcebergSinkConfig.java:109)
 ~[iceberg-kafka-connect-1.9.2.jar:?]
        at 
org.apache.iceberg.connect.IcebergSinkConnector.version(IcebergSinkConnector.java:37)
 ~[iceberg-kafka-connect-1.9.2.jar:?]
        at 
org.apache.kafka.connect.runtime.AbstractHerder.validateConnectorConfig(AbstractHerder.java:847)
 ~[connect-runtime-8.1.0-ccs.jar:?]
        at 
org.apache.kafka.connect.runtime.AbstractHerder.lambda$validateConnectorConfig$3(AbstractHerder.java:609)
 ~[connect-runtime-8.1.0-ccs.jar:?]
        at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 
~[?:?]
        at java.base/java.util.concurrent.FutureTask.run(Unknown Source) ~[?:?]
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown 
Source) ~[?:?]
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
Source) ~[?:?]
        ... 1 more
   Caused by: java.lang.ClassNotFoundException: org.apache.iceberg.IcebergBuild
        at 
org.apache.iceberg.connect.IcebergSinkConfig.version(IcebergSinkConfig.java:109)
 ~[iceberg-kafka-connect-1.9.2.jar:?]
        at 
org.apache.iceberg.connect.IcebergSinkConnector.version(IcebergSinkConnector.java:37)
 ~[iceberg-kafka-connect-1.9.2.jar:?]
        at 
org.apache.kafka.connect.runtime.AbstractHerder.validateConnectorConfig(AbstractHerder.java:847)
 ~[connect-runtime-8.1.0-ccs.jar:?]
        at 
org.apache.kafka.connect.runtime.AbstractHerder.lambda$validateConnectorConfig$3(AbstractHerder.java:609)
 ~[connect-runtime-8.1.0-ccs.jar:?]
        at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 
~[?:?]
        at java.base/java.util.concurrent.FutureTask.run(Unknown Source) ~[?:?]
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown 
Source) ~[?:?]
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
Source) ~[?:?]
        ... 1 more
   ```
   
   How I’m pulling the zip and where I’m storing it:
   ```
   RUN curl -L 
https://hub-downloads.confluent.io/api/plugins/iceberg/iceberg-kafka-connect/versions/1.9.2/iceberg-iceberg-kafka-connect-1.9.2.zip
 -o /tmp/iceberg-iceberg-kafka-connect-1.9.2.zip && \
       mkdir -p 
/usr/share/confluent-hub-components/iceberg-iceberg-kafka-connect && \
       unzip /tmp/iceberg-iceberg-kafka-connect-1.9.2.zip -d 
/usr/share/confluent-hub-components/iceberg-iceberg-kafka-connect && \
       rm /tmp/iceberg-iceberg-kafka-connect-1.9.2.zip
   ```
   
   ### Willingness to contribute
   
   - [ ] I can contribute a fix for this bug independently
   - [x] I would be willing to contribute a fix for this bug with guidance from 
the Iceberg community
   - [ ] I cannot contribute a fix for this bug at this time


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to