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

Add audit log in HiveServer2

    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.1
          2 kB
          Hui An
        2. HIVE-21943.patch.2
          2 kB
          Hui An
        3. HIVE-21943.patch.3
          2 kB
          Hui An

        Issue Links

          Activity

            People

              Bone An Hui An
              Bone An Hui An
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: