[ 
https://issues.apache.org/jira/browse/HDFS-1087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Douglas updated HDFS-1087:
--------------------------------

    Attachment: H1087-0.patch

In studying slowdowns in the MR scheduler, Amar Kamat found that {{Formatter}} 
is expensive, particularly compared to appending to a {{StringBuilder}}. Since 
the namenode may emit an entry to the audit log for every successful 
transaction, small improvements will help.

> Use StringBuilder instead of Formatter for audit logs
> -----------------------------------------------------
>
>                 Key: HDFS-1087
>                 URL: https://issues.apache.org/jira/browse/HDFS-1087
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>            Reporter: Chris Douglas
>            Priority: Minor
>         Attachments: H1087-0.patch
>
>
> The audit logs do not use any {{format}} functionality that cannot be 
> replaced by a simple, more efficient set of appends.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to