hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-16107) JDBC: HttpClient should retry one more time on NoHttpResponseException
Date Thu, 16 Mar 2017 21:31:41 GMT

    [ https://issues.apache.org/jira/browse/HIVE-16107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928938#comment-15928938
] 

Daniel Dai commented on HIVE-16107:
-----------------------------------

LGTM. +1.

> JDBC: HttpClient should retry one more time on NoHttpResponseException
> ----------------------------------------------------------------------
>
>                 Key: HIVE-16107
>                 URL: https://issues.apache.org/jira/browse/HIVE-16107
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2, JDBC
>    Affects Versions: 2.0.1, 2.1.1
>            Reporter: Vaibhav Gumashta
>            Assignee: Vaibhav Gumashta
>         Attachments: HIVE-16107.1.patch
>
>
> Hive's JDBC client in HTTP transport mode doesn't retry on NoHttpResponseException. We've
seen the exception being thrown to the JDBC end user when used with Knox as the proxy, when
Knox upgraded its jetty version, which has a smaller value for jetty connector idletimeout,
and as a result closes the HTTP connection on server side. The next jdbc query on the client,
throws a NoHttpResponseException. However, subsequent queries reconnect, but the JDBC driver
should ideally handle this by retrying.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message