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

HS2 should not "start" a session for every command

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: 0.13.0
    • Component/s: HiveServer2
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: