ajantha-bhat commented on code in PR #11516:
URL: https://github.com/apache/iceberg/pull/11516#discussion_r1836965419


##########
kafka-connect/build.gradle:
##########
@@ -96,7 +96,6 @@ 
project(':iceberg-kafka-connect:iceberg-kafka-connect-runtime') {
       exclude group: 'org.slf4j'
       exclude group: 'ch.qos.reload4j'
       exclude group: 'org.apache.avro', module: 'avro'
-      exclude group: 'com.fasterxml.woodstox'

Review Comment:
   I observed the same issue recently when I copied this block of dependency 
exclusion for REST TCK runtime image
   
https://github.com/apache/iceberg/pull/11283/files#diff-49a96e7eea8a94af862798a45174e6ac43eb4f8b4bd40759b5da63ba31ec3ef7R975
   
   I too included it after that. 
   
   And when I test the same thing with `HadoopFileIO`, 
   a) `hadoop-auth` dependency was also needed. 
   b) `commons-configuration2' was also needed. 
   So, may be better you can test it out that too. (line 104, 105)
   
   
   Callstack for me. 
   
   ```
   java.lang.NoClassDefFoundError: org/apache/hadoop/util/PlatformName
        at 
org.apache.hadoop.security.UserGroupInformation.getOSLoginModuleName(UserGroupInformation.java:433)
        at 
org.apache.hadoop.security.UserGroupInformation.<clinit>(UserGroupInformation.java:461)
        at 
org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:3888)
        at 
org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:3878)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3666)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:557)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:289)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:541)
        at org.apache.hadoop.fs.Path.getFileSystem(Path.java:366)
        at org.apache.iceberg.hadoop.Util.getFs(Util.java:56)
        at 
org.apache.iceberg.hadoop.HadoopOutputFile.fromPath(HadoopOutputFile.java:53)
        at 
org.apache.iceberg.hadoop.HadoopFileIO.newOutputFile(HadoopFileIO.java:97)
        at 
org.apache.iceberg.BaseMetastoreTableOperations.writeNewMetadata(BaseMetastoreTableOperations.java:155)
        at 
org.apache.iceberg.BaseMetastoreTableOperations.writeNewMetadataIfRequired(BaseMetastoreTableOperations.java:150)
        at 
org.apache.iceberg.jdbc.JdbcTableOperations.doCommit(JdbcTableOperations.java:106)
        at 
org.apache.iceberg.BaseMetastoreTableOperations.commit(BaseMetastoreTableOperations.java:125)
        at 
org.apache.iceberg.BaseMetastoreCatalog$BaseMetastoreCatalogTableBuilder.create(BaseMetastoreCatalog.java:201)
        at 
org.apache.iceberg.rest.CatalogHandlers.createTable(CatalogHandlers.java:274)
        at 
org.apache.iceberg.rest.RESTCatalogAdapter.handleRequest(RESTCatalogAdapter.java:377)
        at 
org.apache.iceberg.rest.RESTServerCatalogAdapter.handleRequest(RESTServerCatalogAdapter.java:42)
        at 
org.apache.iceberg.rest.RESTCatalogAdapter.execute(RESTCatalogAdapter.java:558)
        at 
org.apache.iceberg.rest.RESTCatalogServlet.execute(RESTCatalogServlet.java:100)
        at 
org.apache.iceberg.rest.RESTCatalogServlet.doPost(RESTCatalogServlet.java:78)
   ```
   



-- 
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-unsubscr...@iceberg.apache.org

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


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

Reply via email to