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)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13.0, 0.14.0
    • 1.2.0
    • HiveServer2

    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-testing.xlsx
          28 kB
          Abdelrahman Shettia
        2. HIVE-9779.2.patch
          4 kB
          Abdelrahman Shettia

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: