suxiaogang223 opened a new pull request, #65825:
URL: https://github.com/apache/doris/pull/65825

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Problem Summary:
   
   The Kerberos external regression suites can run concurrently against the 
same Hive Metastore. Both `test_non_catalog_kerberos` and 
`test_two_hive_kerberos` used the database name `test_krb_hive_db`.
   
   Creating an external HMS database with `IF NOT EXISTS` performs a check 
followed by a create operation. When both suites create the database 
concurrently, both checks can observe that it is absent, and one request then 
fails with an HMS `AlreadyExistsException`.
   
   Use a dedicated `test_non_catalog_krb_hive_db` database for the non-catalog 
Kerberos suite. This isolates its fixture from the two-Hive suite without 
changing the tested export, outfile, HDFS, or Kerberos behavior.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test: Static validation
       - `git diff --check`
       - Verified the two concurrent Kerberos suites no longer share the same 
HMS database name
   - Behavior changed: No
   - Does this need documentation: No
   


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

Reply via email to