zabetak opened a new pull request, #6266:
URL: https://github.com/apache/hive/pull/6266

   ### Why are the changes needed?
   To speed up all tests using a file-system backed Derby database by avoiding 
expensive I/O operations. More details under HIVE-29401.
   
   ### Does this PR introduce _any_ user-facing change?
   No, this is a test only change.
   
   ### How was this patch tested?
   Picked randomly a few q files that use Derby and checked that property takes 
effect by searching in the derby.log file.
   ```
   mvn test -Dtest=TestMiniLlapLocalCliDriver -Dqfile=jdbc_handler.q -Pitests 
-pl itests/qtest
   ```
   ```
   grep -a "durability" itests/qtest/target/tmp/derby.log 
   Warning: The database is booted with derby.system.durability=test. In this 
mode, it is possible that database may not be able to recover, committed 
transactions may be lost, database may be in an inconsistent state. Please use 
this mode only when these consequences are acceptable  
   Warning: The database is booted with derby.system.durability=test. In this 
mode, it is possible that database may not be able to recover, committed 
transactions may be lost, database may be in an inconsistent state. Please use 
this mode only when these consequences are acceptable  
   ```


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