[
https://issues.apache.org/jira/browse/HIVE-29056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ayush Saxena resolved HIVE-29056.
---------------------------------
Fix Version/s: 4.2.0
Resolution: Fixed
> Use ExitUtil.terminate instead of System.exit to handle
> System.setSecurityManager()
> -----------------------------------------------------------------------------------
>
> Key: HIVE-29056
> URL: https://issues.apache.org/jira/browse/HIVE-29056
> Project: Hive
> Issue Type: Improvement
> Reporter: Ayush Saxena
> Assignee: Ayush Saxena
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.2.0
>
>
> System.setSecurityManager() adds sutdown hooks in tests to avoid System.exit
> calls. It is now not supported in JDK-21+
>
> Replace System.exit calls with ExitUtil.terminate(), which has ways to handle
> such scenarios easily
--
This message was sent by Atlassian Jira
(v8.20.10#820010)