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

Beeline ^C doesn't close the session in HTTP mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • Beeline
    • None

    Description

      When open multiple connections through Beeline to Hiveserver2 and if tries to close the client using !quit or ^C command, it looks like all the connections/sessions are not getting closed.
      !quit seems to close the current active connection but fails to close other open sessions.
      ^C doesn't close any session.

      This behaviour is noticed only with the HTTP mode of transport (hive.server2.transport.mode=http). In case of BINARY mode, server triggers the close session when a tcp connection is closed by peer.

      Attachments

        1. HIVE-15858.02.patch
          5 kB
          Sankar Hariappan
        2. HIVE-15858.01.patch
          0.9 kB
          Sankar Hariappan

        Issue Links

          Activity

            People

              sankarh Sankar Hariappan
              sankarh Sankar Hariappan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: