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

   ### What changes were proposed in this pull request?
   Ensures hive.downloaded.resources.dir is properly cleaned up when 
HiveServer2 (HS2) shuts down. Adds cleanup logic to 
CliService.applyAuthorizationConfigPolicy and HiveMaterializedViewsRegistry.
   
   ### Why are the changes needed?
   Unused downloaded resources persist after HS2 shutdown, leading to disk 
bloat and performance degradation. This fix prevents unnecessary resource 
accumulation and improves cleanup.
   
   ### Does this PR introduce _any_ user-facing change?
   No functional changes for users; it only enhances internal resource 
management. Temporary directories will now be cleaned up automatically.
   
   ### Is the change a dependency upgrade?
   No, this PR does not introduce any dependency upgrades.
   
   ### How was this patch tested?
   Manually verified that _resources directories are created and removed 
correctly. 


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