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

   ### Apache Iceberg version
   
   None
   
   ### Query engine
   
   None
   
   ### Please describe the bug 🐞
   
   I used the iceberg 1.4.2 Java API to create a table, which can be created, 
but an error occurred when checking the table properties. Both table. local() 
and select will report errors. The first create does not report an error.
   
   Exception in thread "main" java.lang.NoClassDefFoundError: 
com/fasterxml/jackson/core/exc/StreamConstraintsException
        at 
com.fasterxml.jackson.databind.node.JsonNodeFactory.objectNode(JsonNodeFactory.java:353)
        at 
com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:100)
        at 
com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:25)
        at 
com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323)
        at 
com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4825)
        at 
com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3809)
        at 
org.apache.iceberg.TableMetadataParser.read(TableMetadataParser.java:273)
        at 
org.apache.iceberg.TableMetadataParser.read(TableMetadataParser.java:266)
        at 
org.apache.iceberg.hadoop.HadoopTableOperations.updateVersionAndMetadata(HadoopTableOperations.java:98)
        at 
org.apache.iceberg.hadoop.HadoopTableOperations.refresh(HadoopTableOperations.java:121)
        at 
org.apache.iceberg.hadoop.HadoopTableOperations.current(HadoopTableOperations.java:84)
        at 
org.apache.iceberg.BaseMetastoreCatalog$BaseMetastoreCatalogTableBuilder.create(BaseMetastoreCatalog.java:189)
        at org.apache.iceberg.catalog.Catalog.createTable(Catalog.java:75)
        at org.apache.iceberg.catalog.Catalog.createTable(Catalog.java:106)
        at IcebergExample.main(IcebergExample.java:58)
   Caused by: java.lang.ClassNotFoundException: 
com.fasterxml.jackson.core.exc.StreamConstraintsException
        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)


-- 
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.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