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

Better audit log messages for caching operations

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.0, 3.0.0-alpha1
    • 2.5.0
    • namenode

    Description

      Right now the caching audit logs aren't that useful, e.g.

      2013-12-18 14:14:54,423 INFO  FSNamesystem.audit (FSNamesystem.java:logAuditMessage(7362)) - allowed=true	ugi=andrew (auth:SIMPLE)	ip=/127.0.0.1	cmd=addCacheDirective	src=null	dst=null	perm=null
      

      It'd be good to include some more information when possible, like the path, pool, id, etc.

      Attachments

        1. HDFS-5683.001.patch
          4 kB
          Abhiraj Butala

        Activity

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

          People

            abutala Abhiraj Butala
            andrew.wang Andrew Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment