Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 73357 invoked from network); 16 May 2009 00:46:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 May 2009 00:46:09 -0000 Received: (qmail 58774 invoked by uid 500); 16 May 2009 00:46:08 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 58710 invoked by uid 500); 16 May 2009 00:46:08 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 58700 invoked by uid 99); 16 May 2009 00:46:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 May 2009 00:46:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Sat, 16 May 2009 00:46:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1F551234C045 for ; Fri, 15 May 2009 17:45:46 -0700 (PDT) Message-ID: <1080111502.1242434746127.JavaMail.jira@brutus> Date: Fri, 15 May 2009 17:45:46 -0700 (PDT) From: "Kan Zhang (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-5856) FindBugs : fix "unsafe multithreaded use of DateFormat" warning in hdfs In-Reply-To: <2093719870.1242432585570.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-5856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kan Zhang updated HADOOP-5856: ------------------------------ Attachment: 5856-0.patch > FindBugs : fix "unsafe multithreaded use of DateFormat" warning in hdfs > ----------------------------------------------------------------------- > > Key: HADOOP-5856 > URL: https://issues.apache.org/jira/browse/HADOOP-5856 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Reporter: Kan Zhang > Assignee: Kan Zhang > Attachments: 5856-0.patch > > > This JIRA fixes the following warning: > STCAL Call to method of static java.text.DateFormat in org.apache.hadoop.hdfs.server.datanode.DataBlockScanner$LogEntry.newEnry(Block, long) > Bug type STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE (click for details) > In class org.apache.hadoop.hdfs.server.datanode.DataBlockScanner$LogEntry > In method org.apache.hadoop.hdfs.server.datanode.DataBlockScanner$LogEntry.newEnry(Block, long) > Called method java.text.DateFormat.format(Date) > Field org.apache.hadoop.hdfs.server.datanode.DataBlockScanner.dateFormat > At DataBlockScanner.java:[line 385] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.