hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt McCline (Jira)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-25396) Improve uncaught Thread Exception handling in Hive Server 2
Date Tue, 27 Jul 2021 20:50:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-25396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matt McCline updated HIVE-25396:
--------------------------------
    Attachment: hive-uncaught-http-servlet-01-3_1.patch

> 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
>            Priority: Major
>         Attachments: hive-uncaught-http-servlet-01-3_1.patch
>
>
> 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)

Mime
View raw message