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

Allow customized audit logging in HDFS FSNamesystem

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.3-alpha
    • namenode
    • None

    Description

      Currently, FSNamesystem writes audit logs to a logger; that makes it easy to get audit logs in some log file. But it makes it kinda tricky to store audit logs in any other way (let's say a database), because it would require the code to implement a log appender (and thus know what logging system is actually being used underneath the façade), and parse the textual log message generated by FSNamesystem.

      I'm attaching a patch that introduces a cleaner interface for this use case.

      Attachments

        1. accesslogger-v1.patch
          24 kB
          Marcelo Masiero Vanzin
        2. accesslogger-v2.patch
          24 kB
          Marcelo Masiero Vanzin
        3. hdfs-3680-v10.patch
          31 kB
          Marcelo Masiero Vanzin
        4. hdfs-3680-v3.patch
          26 kB
          Marcelo Masiero Vanzin
        5. hdfs-3680-v4.patch
          26 kB
          Marcelo Masiero Vanzin
        6. hdfs-3680-v5.patch
          28 kB
          Marcelo Masiero Vanzin
        7. hdfs-3680-v6.patch
          29 kB
          Marcelo Masiero Vanzin
        8. hdfs-3680-v7.patch
          30 kB
          Marcelo Masiero Vanzin
        9. hdfs-3680-v8.patch
          31 kB
          Marcelo Masiero Vanzin
        10. hdfs-3680-v9.patch
          31 kB
          Marcelo Masiero Vanzin

        Issue Links

          Activity

            People

              vanzin Marcelo Masiero Vanzin
              vanzin Marcelo Masiero Vanzin
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: