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)

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment