taoran92 opened a new pull request, #11134:
URL: https://github.com/apache/paimon/pull/11134

   ### Purpose
   
   Fixes #11133.
   
   Concurrent Hive 3.1 tests can fail before any test method runs when one JVM 
checks the shared query results cache directory after another JVM creates it 
but before its permissions are set.
   
   Give each embedded Hive test context its own query results cache directory 
under its temporary base directory. Use a string configuration key so the 
shared runner remains compatible with Hive 2.
   
   ### Tests
   
   - 
`PaimonEmbeddedHiveServerContextTest#testIsolatedQueryResultsCacheDirectories`: 
fails before the change and passes after it; checks directory isolation, Hive's 
permission check, and the generated `hive-site.xml`.
   - `HiveWriteITCase#testHiveCreateAndHiveWrite`: passes with Hive 3.1 and JDK 
8.
   - Checkstyle, Spotless, Enforcer, and RAT checks pass.
   


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