hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Douglas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HDFS-1087) Use StringBuilder instead of Formatter for audit logs
Date Sun, 18 Apr 2010 21:35:50 GMT

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

Chris Douglas updated HDFS-1087:

    Attachment: H1087-2.patch

bq. You may initialize the StringBuilder by some fixed number and eliminate the static variable

It's an old, public field and it describes the format of the audit log, so I thought it had
to remain. It does a poor job of describing the format, though. I moved it to the logger javadoc

> 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, H1087-1.patch, H1087-2.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.

View raw message