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

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   Flink 1.18/1.20,通过connector对接Gravitino的Metalake
   Metalake有两个catalog,一个是Paimon的jdbc,一个是Gravitino的aux IRC
   
   执行:
   通过flink 
sqli-client建paimon表,四级名字为metalake.paimon.paimon_metalake_db.test_for_pk_table4,with指定额外属性:
    'metadata.iceberg.storage' = 'rest-catalog',
    'metadata.iceberg.rest.uri' = 'http://$gravitino-server:9001/iceberg',
    'metadata.iceberg.rest.warehouse' = 'irc',
    'metadata.iceberg.rest.clients' = '1'
   
   其中 metadata.iceberg.rest.uri 为这个Gravitino起的aux IRC
   
   flink能创建表,但是无法select insert drop等操作,会报错
   
   
   ### Error message and/or stacktrace
   
   ERROR [Gravitino-webserver-99] 
[org.apache.gravitino.catalog.OperationDispatcher.operateOnEntity(OperationDispatcher.java:211)]
 - Entity for metalake.paimon.paimon_metalake_db.test_for_pk_table4 doesn't 
exist in Gravitino, this is unexpected if this is created by Gravitino. With 
this situation the returned object will not contain the metadata from Gravitino
   
   WARN [Gravitino-webserver-99] 
[org.apache.gravitino.server.web.rest.ExceptionHandlers$TableExceptionHandler.handle(ExceptionHandlers.java:267)]
 - Failed to operate table(s) [test_for_pk_table4] operation [LOAD] under 
schema [paimon_metalake_db], reason [Table managed by multiple catalogs. This 
may cause unexpected issues such as privilege conflicts. To resolve: Remove all 
catalogs managing this table, then recreate one catalog to ensure 
single-catalog management.]
   java.lang.UnsupportedOperationException: Table managed by multiple catalogs. 
This may cause unexpected issues such as privilege conflicts. To resolve: 
Remove all catalogs managing this table, then recreate one catalog to ensure 
single-catalog management.
           at 
org.apache.gravitino.catalog.TableOperationDispatcher.loadTable(TableOperationDispatcher.java:160)
   
   ### How to reproduce
   
   Gravitino 1.3.0
   
   ### Additional context
   
   _No response_


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

Reply via email to