hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-1087) Use StringBuilder instead of Formatter for audit logs
Date Thu, 08 Apr 2010 18:59:36 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855089#action_12855089
] 

Tsz Wo (Nicholas), SZE commented on HDFS-1087:
----------------------------------------------

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

> 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
>
>
> 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.


Mime
View raw message