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

Add audit log in HiveServer2

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 1.2.2, 2.2.0, 3.1.0
    • None
    • HiveServer2, Logging
    • None

    Description

      Currently, we have audit log in the metastore( see HIVE-1948), which provides us useful info, like metadata operations, ip address, etc. But when we use HS2 to connect HMS, all operations would assoicate with HS2's ip address, not actual user's ip address. This could cause difficult problems when we want to locate the actual user. So I am wondering if we could add audit log in the HS2 too?

      We could add much infomation in the audit log of HS2, like username, ipAddress, queryId, queryStr, etc.

      Attachments

        1. HIVE-21943.patch.3
          2 kB
          Hui An
        2. HIVE-21943.patch.2
          2 kB
          Hui An
        3. HIVE-21943.patch.1
          2 kB
          Hui An

        Activity

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

          People

            Bone An Hui An Assign to me
            Bone An Hui An

            Dates

              Created:
              Updated:

              Slack

                Issue deployment