hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5856) FindBugs : fix "unsafe multithreaded use of DateFormat" warning in hdfs
Date Sat, 16 May 2009 01:05:45 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-5856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710043#action_12710043
] 

Suresh Srinivas commented on HADOOP-5856:
-----------------------------------------

+1. Can you please fix the typo in the method name from {{newEnry}} to {{newEntry}}  

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


Mime
View raw message