hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-525) ListPathsServlet.java uses static SimpleDateFormat that has threading issues
Date Sun, 09 Aug 2009 09:22:14 GMT

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

Suresh Srinivas commented on HDFS-525:
--------------------------------------

I will open another jira to move the the thread safe implementation of SimpleDateFormat to
util package. This jira will also review the non thread safe static SimpleDateFormat usage
in HDFS and map/reduce code.

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