Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 40648 invoked from network); 8 Apr 2010 18:59:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Apr 2010 18:59:58 -0000 Received: (qmail 22912 invoked by uid 500); 8 Apr 2010 18:59:58 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 22883 invoked by uid 500); 8 Apr 2010 18:59:58 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 22875 invoked by uid 99); 8 Apr 2010 18:59:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Apr 2010 18:59:57 +0000 X-ASF-Spam-Status: No, hits=-1250.5 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Apr 2010 18:59:57 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BCA7E234C4AB for ; Thu, 8 Apr 2010 18:59:36 +0000 (UTC) Message-ID: <1056029896.18941270753176771.JavaMail.jira@brutus.apache.org> Date: Thu, 8 Apr 2010 18:59:36 +0000 (UTC) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-1087) Use StringBuilder instead of Formatter for audit logs In-Reply-To: <442982279.3711270690296758.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.