Matt McCline created HIVE-25396: ----------------------------------- Summary: Improve uncaught Thread Exception handling in Hive Server 2 Key: HIVE-25396 URL: https://issues.apache.org/jira/browse/HIVE-25396 Project: Hive Issue Type: Bug Reporter: Matt McCline Assignee: Matt McCline
Hive's org.apache.hive.service.thrift.ThriftHttpServlet.doPost method does not handle all Exception kinds. This leaves uncaught Exception handling choices to the Jetty HTTP library. We fix that. Also, a Thread.UncaughtExceptionHandler is added to Hive Server 2 so uncaught Exception are handled uniformly, including making them logged and not just printed to stderr. -- This message was sent by Atlassian Jira (v8.3.4#803005)