[
https://issues.apache.org/jira/browse/HIVE-24694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhihua Deng updated HIVE-24694:
-------------------------------
Description: If exception happens during we try to get the connection from
HiveDriver, the opened transport or session may leave unclosed as the
connection returned is null, we cannot call the close method to release the
server resources(threads, connection quota, etc.), this could make things more
worse if the user rearches the connection limit, the following calls to get
the connection will be failed until we restart the hs2. (was: If exception
happens during we try to get the connection from HiveDriver, the opened
transport or session may leave unclosed as the connection returned is null, we
cannot call the close method to release the server resources(threads/connection
quota), this could make things more worse if the user rearches the connection
limit, the following calls to get the connection will be failed until we
restart the hs2.)
> Early connection close to release server resources during creating
> ------------------------------------------------------------------
>
> Key: HIVE-24694
> URL: https://issues.apache.org/jira/browse/HIVE-24694
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Reporter: Zhihua Deng
> Assignee: Zhihua Deng
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> If exception happens during we try to get the connection from HiveDriver,
> the opened transport or session may leave unclosed as the connection returned
> is null, we cannot call the close method to release the server
> resources(threads, connection quota, etc.), this could make things more worse
> if the user rearches the connection limit, the following calls to get the
> connection will be failed until we restart the hs2.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)