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

ATSHook does not log the end user if doAs=false (it logs the hs2 server user)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.13.0, 0.14.0
    • Fix Version/s: 1.2.0
    • Component/s: HiveServer2
    • Labels:

      Description

      When doAs=false, ATSHook should log the end username in ATS instead of logging the hiveserver2 user's name.
      The way things are, it is not possible for an admin to identify which query is being run by which user. The end user information is already available in the HookContext.

        Attachments

        1. HIVE-9779.2.patch
          4 kB
          Abdelrahman Shettia
        2. HIVE-9779-testing.xlsx
          28 kB
          Abdelrahman Shettia

          Activity

            People

            • Assignee:
              ashettia Abdelrahman Shettia
              Reporter:
              ashettia Abdelrahman Shettia
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: