You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "FANNG1 (via GitHub)" <gi...@apache.org> on 2025/01/09 07:54:02 UTC

[I] [Bug report] Iceberg REST server failed to write GCS data [gravitino]

FANNG1 opened a new issue, #6165:
URL: https://github.com/apache/gravitino/issues/6165

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   Iceberg REST server failed to write GCS data
   
   ### Error message and/or stacktrace
   
   ```
   Caused by: java.lang.NoSuchMethodError: 'com.google.api.services.storage.model.StorageObject com.google.api.services.storage.model.StorageObject.setCustomTime(com.google.api.client.util.DateTime)'
   	at com.google.cloud.storage.JsonConversions.blobInfoEncode(JsonConversions.java:232) ~[iceberg-gcp-bundle-1.5.2.jar:?]
   	at com.google.cloud.storage.Conversions$SimpleCodec.encode(Conversions.java:144) ~[iceberg-gcp-bundle-1.5.2.jar:?]
   	at com.google.cloud.storage.StorageImpl.writer(StorageImpl.java:673) ~[iceberg-gcp-bundle-1.5.2.jar:?]
   	at com.google.cloud.storage.StorageImpl.writer(StorageImpl.java:95) ~[iceberg-gcp-bundle-1.5.2.jar:?]
   	at org.apache.iceberg.gcp.gcs.GCSOutputStream.openStream(GCSOutputStream.java:114) ~[iceberg-gcp-1.5.2.jar:?]
   	at org.apache.iceberg.gcp.gcs.GCSOutputStream.<init>(GCSOutputStream.java:74) ~[iceberg-gcp-1.5.2.jar:?]
   	at org.apache.iceberg.gcp.gcs.GCSOutputFile.createOrOverwrite(GCSOutputFile.java:62) ~[iceberg-gcp-1.5.2.jar:?]
   	at org.apache.iceberg.TableMetadataParser.internalWrite(TableMetadataParser.java:125) ~[iceberg-core-1.5.2.jar:?]
   	at org.apache.iceberg.TableMetadataParser.overwrite(TableMetadataParser.java:115) ~[iceberg-core-1.5.2.jar:?]
   ```
   
   ### How to reproduce
   
   1. place `gravitino-gcp-bundle` jar and `iceberg-gcp-bundle` jar to the classpath of Iceberg REST server
   2. try create table
   
   ### Additional context
   
   `iceberg-gcp-bundle` use new google APIs while `gravitino-gcp-bundle` use old google APIs, there are some compatibility problems.


-- 
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: commits-unsubscribe@gravitino.apache.org.apache.org

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


Re: [I] [Bug report] Iceberg REST server failed to write GCS data with both Gravitino GCP bundle jar and Iceberg GCP bundle jar [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 closed issue #6165: [Bug report] Iceberg REST server failed to write GCS data with both Gravitino GCP bundle jar and Iceberg GCP bundle jar
URL: https://github.com/apache/gravitino/issues/6165


-- 
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: commits-unsubscribe@gravitino.apache.org

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


Re: [I] [Bug report] Iceberg REST server failed to write GCS data with both Gravitino GCP bundle jar and Iceberg GCP bundle jar [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 closed issue #6165: [Bug report] Iceberg REST server failed to write GCS data with both Gravitino GCP bundle jar and Iceberg GCP bundle jar
URL: https://github.com/apache/gravitino/issues/6165


-- 
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: commits-unsubscribe@gravitino.apache.org

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