You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "santurini (via GitHub)" <gi...@apache.org> on 2025/09/01 12:43:45 UTC

[I] Iceberg Connector Confluent: java.lang.ClassNotFoundException: org.apache.iceberg.IcebergBuild [iceberg]

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

   I am deploying a confluent stack in Kubernetes which install the Apache Iceberg Connector like this:
   ```
   apiVersion: platform.confluent.io/v1beta1
   kind: Connect
   metadata:
     name: connect
     namespace: confluent
   spec:
     replicas: 1
     image:
       application: confluentinc/cp-server-connect:7.9.0
       init: confluentinc/confluent-init-container:2.11.0
     build:
       type: onDemand
       onDemand:
         plugins:
           confluentHub:
             - name: debezium-connector-mysql
               owner: debezium
               version: latest
             - name: iceberg-kafka-connect
               owner: iceberg
               version: latest
   ```
   
   But as soon as I create a sink connector, I have this error trace:
   ```
   {
      "name":"sink-lara-documents",
      "connector":{
         "state":"FAILED",
         "worker_id":"connect-0.connect.confluent.svc.cluster.local:8083",
         "trace":"java.lang.NoClassDefFoundError: org/apache/iceberg/IcebergBuild\n\tat org.apache.iceberg.connect.IcebergSinkConfig.version(IcebergSinkConfig.java:109)\n\tat org.apache.iceberg.connect.IcebergSinkConnector.version(IcebergSinkConnector.java:37)\n\tat org.apache.kafka.connect.runtime.WorkerConnector$ConnectorMetricsGroup.<init>(WorkerConnector.java:502)\n\tat org.apache.kafka.connect.runtime.WorkerConnector.<init>(WorkerConnector.java:103)\n\tat org.apache.kafka.connect.runtime.Worker.startConnector(Worker.java:412)\n\tat org.apache.kafka.connect.runtime.distributed.DistributedHerder.startConnector(DistributedHerder.java:2194)\n\tat org.apache.kafka.connect.runtime.distributed.DistributedHerder.lambda$restartConnector$29(DistributedHerder.java:1518)\n\tat org.apache.kafka.connect.runtime.distributed.DistributedHerder.runRequest(DistributedHerder.java:2471)\n\tat org.apache.kafka.connect.runtime.distributed.DistributedHerder.tick(DistributedHerder.java:502)\n\tat org.ap
 ache.kafka.connect.runtime.distributed.DistributedHerder.run(DistributedHerder.java:387)\n\tat java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)\n\tat java.base/java.util.concurrent.FutureTask.run(Unknown Source)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\n\tat java.base/java.lang.Thread.run(Unknown Source)\nCaused by: java.lang.ClassNotFoundException: org.apache.iceberg.IcebergBuild\n\t... 15 more\n"
      },
      "tasks":[
         
      ],
      "type":"sink"
   }
   ```


-- 
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: issues-unsubscribe@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Iceberg Connector Confluent: java.lang.ClassNotFoundException: org.apache.iceberg.IcebergBuild [iceberg]

Posted by "santurini (via GitHub)" <gi...@apache.org>.
santurini commented on issue #13964:
URL: https://github.com/apache/iceberg/issues/13964#issuecomment-3244223868

   Digging deeper in the connect container I ensured that the plugin folder is present and visible:
   ```
   $ ls /mnt/plugins/iceberg-iceberg-kafka-connect/
   assets  iceberg-iceberg-kafka-connect-1.9.2  lib  manifest.json
   
   $ ls /mnt/plugins/iceberg-iceberg-kafka-connect/lib/
   iceberg-kafka-connect-1.9.2.jar
   ```
   
   And from the control-center:
   <img width="998" height="244" alt="Image" src="https://github.com/user-attachments/assets/189433d0-3918-4b91-b174-b10286104a1f" />
   
   So my wild guess is that the provided `iceberg-kafka-connect-1.9.2.jar` does not have all the necessary dependencies to create a connector.


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Iceberg Connector Confluent: java.lang.ClassNotFoundException: org.apache.iceberg.IcebergBuild [iceberg]

Posted by "santurini (via GitHub)" <gi...@apache.org>.
santurini commented on issue #13964:
URL: https://github.com/apache/iceberg/issues/13964#issuecomment-3248392937

   Okay because I am downloading the plugin from the official [Confluent Hub](https://www.confluent.io/hub/) and previously I was using a Tabular Iceberg Sink implementation but now it has been removed. The point is that the plugins `.jar` should contain all the dependencies because when using the Confluent Kubernetes CRDs it is really difficult to workaround and manually put the unzipped folder in the correct location. I'll give it a shot!


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Iceberg Connector Confluent: java.lang.ClassNotFoundException: org.apache.iceberg.IcebergBuild [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #13964: Iceberg Connector Confluent: java.lang.ClassNotFoundException: org.apache.iceberg.IcebergBuild
URL: https://github.com/apache/iceberg/issues/13964


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Iceberg Connector Confluent: java.lang.ClassNotFoundException: org.apache.iceberg.IcebergBuild [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #13964:
URL: https://github.com/apache/iceberg/issues/13964#issuecomment-4644642839

   This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Iceberg Connector Confluent: java.lang.ClassNotFoundException: org.apache.iceberg.IcebergBuild [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #13964:
URL: https://github.com/apache/iceberg/issues/13964#issuecomment-4530720139

   This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Iceberg Connector Confluent: java.lang.ClassNotFoundException: org.apache.iceberg.IcebergBuild [iceberg]

Posted by "santurini (via GitHub)" <gi...@apache.org>.
santurini closed issue #13964: Iceberg Connector Confluent: java.lang.ClassNotFoundException: org.apache.iceberg.IcebergBuild
URL: https://github.com/apache/iceberg/issues/13964


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Iceberg Connector Confluent: java.lang.ClassNotFoundException: org.apache.iceberg.IcebergBuild [iceberg]

Posted by "RussellSpitzer (via GitHub)" <gi...@apache.org>.
RussellSpitzer commented on issue #13964:
URL: https://github.com/apache/iceberg/issues/13964#issuecomment-3245788358

   You are correct, you need the "zip" which has all the dependencies.
   
   see
   https://iceberg.apache.org/docs/latest/kafka-connect/#installation
   
   And yes we should make this simpler to use. I think we have an issue for that somewhere


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Iceberg Connector Confluent: java.lang.ClassNotFoundException: org.apache.iceberg.IcebergBuild [iceberg]

Posted by "RussellSpitzer (via GitHub)" <gi...@apache.org>.
RussellSpitzer commented on issue #13964:
URL: https://github.com/apache/iceberg/issues/13964#issuecomment-3249928966

   I don't believe you have to unzip it, but I haven't checked in a while


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Iceberg Connector Confluent: java.lang.ClassNotFoundException: org.apache.iceberg.IcebergBuild [iceberg]

Posted by "santurini (via GitHub)" <gi...@apache.org>.
santurini commented on issue #13964:
URL: https://github.com/apache/iceberg/issues/13964#issuecomment-3574442568

   @saramorsi Still haven't found a solution since the plugin changed


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Iceberg Connector Confluent: java.lang.ClassNotFoundException: org.apache.iceberg.IcebergBuild [iceberg]

Posted by "saramorsi (via GitHub)" <gi...@apache.org>.
saramorsi commented on issue #13964:
URL: https://github.com/apache/iceberg/issues/13964#issuecomment-3573684821

   What was the fix for this? Thanks in advance!


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org