Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Documentation, Logging
    • Labels:
      None

      Description

      See HIVE-1948, HIVE-3505 .

      Audit logs are logged from hive metastore server, for every metastore api invocation. It has the function and some of the relevant function arguments logged in the metastore log file.
      It is logged at the INFO level of log4j, so you need to make sure that the logging at INFO level is enabled.
      The name of the log entry is "HiveMetaStore.audit" .

        Issue Links

          Activity

          Hide
          Lefty Leverenz added a comment -

          This information can go in the Getting Started wikidoc, which has a section on Error Logs, but it should also go in either the admin docs or the user docs, or both. Perhaps just mention it in appropriate places with links to Getting Started.

          • Is there enough information for a separate wikidoc, or is it just what's in the description here?
          • If not, would the user doc Authorization be an appropriate place for it?
          • In the admin docs, Configuration has a skimpy section that links to log file information in Getting Started and the WebHCat docset: Log Files.
          Show
          Lefty Leverenz added a comment - This information can go in the Getting Started wikidoc, which has a section on Error Logs , but it should also go in either the admin docs or the user docs, or both. Perhaps just mention it in appropriate places with links to Getting Started. Is there enough information for a separate wikidoc, or is it just what's in the description here? If not, would the user doc Authorization be an appropriate place for it? In the admin docs, Configuration has a skimpy section that links to log file information in Getting Started and the WebHCat docset: Log Files .
          Hide
          Lefty Leverenz added a comment -

          Added this little section to Getting Started -- please review:

          Audit Logs

          Audit logs are logged from the Hive metastore server for every metastore API invocation.

          An audit log has the function and some of the relevant function arguments logged in the metastore log file. It is logged at the INFO level of log4j, so you need to make sure that the logging at the INFO level is enabled (see HIVE-3505). The name of the log entry is "HiveMetaStore.audit".

          Audit logs were added in Hive 0.7 for secure client connections (HIVE-1948) and in Hive 0.10 for non-secure connections (HIVE-3277; also see HIVE-2797).

          Does it belong anywhere else (admin or user docs)?

          Show
          Lefty Leverenz added a comment - Added this little section to Getting Started -- please review: Audit Logs Audit logs are logged from the Hive metastore server for every metastore API invocation. An audit log has the function and some of the relevant function arguments logged in the metastore log file. It is logged at the INFO level of log4j, so you need to make sure that the logging at the INFO level is enabled (see HIVE-3505 ). The name of the log entry is "HiveMetaStore.audit". Audit logs were added in Hive 0.7 for secure client connections ( HIVE-1948 ) and in Hive 0.10 for non-secure connections ( HIVE-3277 ; also see HIVE-2797 ). Does it belong anywhere else (admin or user docs)?

            People

            • Assignee:
              Unassigned
              Reporter:
              Thejas M Nair
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Development