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

   ### What changes were proposed in this pull request?
   Use the same hive.user.install.directory for all tests in the same module 
that make use of HiveConfForTest objects.
   
   ### Why are the changes needed?
   
   1. Stabilize CI and reduce failures related to ephemeral storage
   2. Avoid disk exhaustion and cryptic errors due to the filesystem running 
low on space
   
   Having a distinct installation directory for each HiveConfForTest object 
leads to copying the hive-exec*jar (87MB) multiple times necessitating large 
amounts of disk space. The hive-exec.jar does not change so there is no reason 
to keep separate copies and it is just wasting space.
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   ```
   mvn clean test -Dtest=TestTxnCommands*
   ```
   Manually check and ensure that there are not multiple copies of 
hive-exec.jar under the target directories.
   ```
   find . -name "*jar"
   
./target/tmp/user_install_dir/zabetak/.hiveJars/hive-exec-4.1.0-SNAPSHOT-e5846dd8216ed0426374a80f7bc577bf21cb67d8db936e52c6769aa563cea6cf.jar
   ```


-- 
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: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to