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

JDBC connection parameter to control socket read and connect timeout

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Clients, JDBC
    • None

    Description

      Hive server failures are making the JDBC client get stuck in socketRead.

      Users should be able to configure socket read timeout to fail fast in case of server failures.

      Proposed solution

      Add a Jdbc connection param 

      hive.client.read.socket.timeoutmillis

      This can control the socket read timeout, connect timeout in TCP as well as HTTP mode.

      Let me know your thoughts.

      Attachments

        1. HIVE-18497.patch
          2 kB
          Amruth Sampath

        Activity

          People

            amrk7 Amruth Sampath
            amrk7 Amruth Sampath
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: