Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-16107

JDBC: HttpClient should retry one more time on NoHttpResponseException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.1, 2.1.1
    • 2.3.0
    • HiveServer2, JDBC
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HIVE-16107.1.patch
          4 kB
          Vaibhav Gumashta

        Activity

          People

            vgumashta Vaibhav Gumashta
            vgumashta Vaibhav Gumashta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: