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

HS2 should not "start" a session for every command

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.12.0
    • 0.13.0
    • HiveServer2
    • None

    Description

      HS2 calls SessionState.start multiple times (acquire, operation.run) - where it really just cares that the session is set in the thread local store. There are some calls in start session method now that preload stuff that's used during the session. Instead of doing that over and over again, I think it'd be nicer for HS2 to start a session once and then just do the thread local magic as needed.

      Attachments

        1. HIVE-5715.2.patch
          3 kB
          Gunther Hagleitner
        2. HIVE-5715.1.patch
          4 kB
          Gunther Hagleitner

        Issue Links

          Activity

            People

              hagleitn Gunther Hagleitner
              hagleitn Gunther Hagleitner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: