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-525) ListPathsServlet.java uses static SimpleDateFormat that has threading issues
Date Mon, 10 Aug 2009 17:45:15 GMT

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

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

> I will open another jira to move the the thread safe implementation of SimpleDateFormat
to util package.
Why not put the new class in org.apache.hadoop.hdfs.server.common.Util in this issue?

Public API need javadoc, otherwise, QA probably will -1.

> ListPathsServlet.java uses static SimpleDateFormat that has threading issues
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-525
>                 URL: https://issues.apache.org/jira/browse/HDFS-525
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>         Attachments: HDFS-525.patch, HDFS-525.patch
>
>
> SimpleDateFormat is not thread safe. Multiple threads accessing the servlet can cause
threading issues

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