Ayush Saxena created HIVE-29056:
-----------------------------------
Summary: 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
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)