You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Kan Zhang (JIRA)" <ji...@apache.org> on 2009/05/16 02:45:46 UTC

[jira] Updated: (HADOOP-5856) FindBugs : fix "unsafe multithreaded use of DateFormat" warning in hdfs

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