dutyu opened a new issue, #19554: URL: https://github.com/apache/doris/issues/19554
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version 1.2.4 or above ### What's Wrong? Process hms event failed, stacktrace: ``` org.apache.doris.datasource.HMSClientException: failed to get table xxx in db xxx from hms client. reason: org.apache.hadoop.hive.metastore.api.NoSuchObjectException: xxx.xxx.xxx table not found at org.apache.doris.datasource.hive.PooledHiveMetaStoreClient.getTable(PooledHiveMetaStoreClient.java:124) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.catalog.external.HMSExternalTable.makeSureInitialized(HMSExternalTable.java:95) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.catalog.external.HMSExternalTable.getPartitionColumnTypes(HMSExternalTable.java:157) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.datasource.ExternalMetaCacheMgr.addPartitionsCache(ExternalMetaCacheMgr.java:136) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.datasource.CatalogMgr.replayAddExternalPartitions(CatalogMgr.java:879) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.datasource.CatalogMgr.addExternalPartitions(CatalogMgr.java:856) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.datasource.hive.event.AddPartitionEvent.process(AddPartitionEvent.java:82) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.datasource.hive.event.MetastoreEventsProcessor.doExecute(MetastoreEventsProcessor.java:94) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.datasource.hive.event.MetastoreEventsProcessor.processEvents(MetastoreEventsProcessor.java:108) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.datasource.hive.event.MetastoreEventsProcessor.realRun(MetastoreEventsProcessor.java:139) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.datasource.hive.event.MetastoreEventsProcessor.runAfterCatalogReady(MetastoreEventsProcessor.java:120) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.common.util.MasterDaemon.runOneCycle(MasterDaemon.java:58) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.common.util.Daemon.run(Daemon.java:116) ~[doris-fe.jar:1.2-SNAPSHOT] Caused by: org.apache.hadoop.hive.metastore.api.NoSuchObjectException: hive.dp_data_db.dm_eco_dataeco_ad_transations_s3_0_4_1_temp20230510 table not found at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$get_table_req_result$get_table_req_resultStandardScheme.read(ThriftHiveMetastore.java) ~[hive-standalone-metastore-3.1.3.jar:3.1.3] at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$get_table_req_result$get_table_req_resultStandardScheme.read(ThriftHiveMetastore.java) ~[hive-standalone-metastore-3.1.3.jar:3.1.3] at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$get_table_req_result.read(ThriftHiveMetastore.java) ~[hive-standalone-metastore-3.1.3.jar:3.1.3] at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:88) ~[libthrift-0.13.0.jar:0.13.0] at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.recv_get_table_req(ThriftHiveMetastore.java:2079) ~[hive-standalone-metastore-3.1.3.jar:3.1.3] at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.get_table_req(ThriftHiveMetastore.java:2066) ~[hive-standalone-metastore-3.1.3.jar:3.1.3] at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getTable(HiveMetaStoreClient.java:1777) ~[doris-fe.jar:3.1.3] at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getTable(HiveMetaStoreClient.java:1766) ~[doris-fe.jar:3.1.3] ``` ### What You Expected? Fix hms event process bugs. ### How to Reproduce? _No response_ ### Anything Else? _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
