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

Improve performance of audit log

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      We currently use java Formatter for audit log formatting. I've done some experiments with it versus simply creating a string of the same format using StringBuilder and apparently if we were to use StringBuilder we can make audit log function 5-10x faster.
      Since it is a useful feature and the namenode under heavy load logs a lot this performance improvement is worth it.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dms Dmytro Molkov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: