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
- is related to
-
HDFS-1087 Use StringBuilder instead of Formatter for audit logs
- Closed