Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12300

Audit-log delegation token related operations

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 3.0.0-beta1
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      <!-- markdown -->

      NameNode now audit-logs `getDelegationToken`, `renewDelegationToken`, `cancelDelegationToken`.
      Show
      <!-- markdown --> NameNode now audit-logs `getDelegationToken`, `renewDelegationToken`, `cancelDelegationToken`.

      Description

      When inspecting the code, I found that the following methods in FSNamesystem are not audit logged:

      • getDelegationToken
      • renewDelegationToken
      • cancelDelegationToken

      The audit log itself does have a logTokenTrackingId field to additionally log some details when a token is used for authentication.

      After emailing the community, we should add that.

        Attachments

        1. HDFS-12300.02.patch
          10 kB
          Xiao Chen
        2. HDFS-12300.01.patch
          10 kB
          Xiao Chen

          Issue Links

            Activity

              People

              • Assignee:
                xiaochen Xiao Chen
                Reporter:
                xiaochen Xiao Chen
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: