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

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   2025-10-13 11:11:12 INFO  [Gravitino-webserver-45] StatisticOperations:186 - 
Received drop statistics request for object full name: 
statistics_mysql_catalog1.statistics_mysql_schema1.statistics_mysql_table_not_existed
 type: table in the metalake test_statistics_1
   2025-10-13 11:11:56 WARN  [tree-lock-dead-lock-checker-0] LockManager:139 - 
Thread with identifier 
ThreadIdentifier{thread=Thread[Gravitino-webserver-45,5,main], 
ident=test_statistics_1.statistics_mysql_catalog1.statistics_mysql_schema1.statistics_mysql_table_not_existed}
 holds the lock node 
TreeLockNode{ident=statistics_mysql_table_not_existed,hashCode=1761115167} for 
more than 30s since 2025-10-13 11:11:12, please check if some dead lock or 
thread hang like io-connection hangs
   2025-10-13 11:11:56 WARN  [tree-lock-dead-lock-checker-0] LockManager:139 - 
Thread with identifier 
ThreadIdentifier{thread=Thread[Gravitino-webserver-45,5,main], 
ident=test_statistics_1.statistics_mysql_catalog1.statistics_mysql_schema1.statistics_mysql_table_not_existed}
 holds the lock node 
TreeLockNode{ident=statistics_mysql_schema1,hashCode=-339972586} for more than 
30s since 2025-10-13 11:11:12, please check if some dead lock or thread hang 
like io-connection hangs
   2025-10-13 11:11:56 WARN  [tree-lock-dead-lock-checker-0] LockManager:139 - 
Thread with identifier 
ThreadIdentifier{thread=Thread[Gravitino-webserver-45,5,main], 
ident=test_statistics_1.statistics_mysql_catalog1.statistics_mysql_schema1.statistics_mysql_table_not_existed}
 holds the lock node 
TreeLockNode{ident=statistics_mysql_catalog1,hashCode=-1204577040} for more 
than 30s since 2025-10-13 11:11:12, please check if some dead lock or thread 
hang like io-connection hangs
   2025-10-13 11:11:56 WARN  [tree-lock-dead-lock-checker-0] LockManager:139 - 
Thread with identifier 
ThreadIdentifier{thread=Thread[Gravitino-webserver-45,5,main], 
ident=test_statistics_1.statistics_mysql_catalog1.statistics_mysql_schema1.statistics_mysql_table_not_existed}
 holds the lock node TreeLockNode{ident=test_statistics_1,hashCode=-1708547391} 
for more than 30s since 2025-10-13 11:11:12, please check if some dead lock or 
thread hang like io-connection hangs
   
   ### Error message and/or stacktrace
   
   see above
   
   ### How to reproduce
   
   Run a check exception test scenario as following steps:
   ```
   Scenario: Check Exception
       Given I set metalake test_statistics_1
       When update statistics for table 
statistics_mysql_catalog1.statistics_mysql_schema1.statistics_mysql_table1
       Then verify response code 200
       When update statistics for table 
statistics_mysql_catalog1.statistics_mysql_schema1.statistics_mysql_table1
       Then verify response code 200
       When update statistics for table 
statistics_mysql_catalog1.statistics_mysql_schema1.statistics_mysql_catalog_not_existed
       Then Response code 404 message NoSuchMetadataObjectException
       Given I set metalake test_statistics_not_exited
       When update statistics for table 
statistics_mysql_catalog1.statistics_mysql_schema1.statistics_mysql_table1
       Then Response code 404 message NoSuchCatalogException
       When list statistics for table 
statistics_mysql_catalog1.statistics_mysql_schema1.statistics_mysql_table1
       Then Response code 404 message NoSuchCatalogException
       When drop statistics custom-test1,custom-test2 for table 
statistics_mysql_catalog1.statistics_mysql_schema1.statistics_mysql_table1
       Then Response code 404 message NoSuchCatalogException
       Given I set metalake test_statistics_1
       When update statistics for table 
statistics_mysql_catalog_not_existed.statistics_mysql_schema1.statistics_mysql_table1
       Then Response code 404 message NoSuchCatalogException
       When update statistics for table 
statistics_mysql_catalog1.statistics_mysql_schema_not_existed.statistics_mysql_table1
       Then Response code 404 message NoSuchSchemaException
       When update statistics with empty update for table 
statistics_mysql_catalog1.statistics_mysql_schema1.statistics_mysql_table1
       Then Response code 400 message IllegalArgumentException
       When update statistics for schema 
statistics_mysql_catalog1.statistics_mysql_schema1
       Then Response code 405 message UnsupportedOperationException
       When update statistics with non-custom-prefix update for table 
statistics_mysql_catalog1.statistics_mysql_schema1.statistics_mysql_table1
       Then Response code 400 message IllegalStatisticNameException
       When list statistics for table 
statistics_mysql_catalog1.statistics_mysql_schema1.statistics_mysql_table_not_existed
       Then Response code 404 message NoSuchMetadataObjectException
       When list statistics for table 
statistics_mysql_catalog1.statistics_mysql_schema_not_existed.statistics_mysql_table1
       Then Response code 404 message NoSuchSchemaException
       When list statistics for table 
statistics_mysql_catalog_not_existed.statistics_mysql_schema1.statistics_mysql_table1
       Then Response code 404 message NoSuchCatalogException
       When drop statistics custom-test1,custom-test2 for table 
statistics_mysql_catalog1.statistics_mysql_schema1.statistics_mysql_table_not_existed**
   ```
   
   ### 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