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] Updated: (HDFS-525) ListPathsServlet.java uses static SimpleDateFormat that has threading issues
Date Mon, 10 Aug 2009 21:24:14 GMT

     [ https://issues.apache.org/jira/browse/HDFS-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Suresh Srinivas updated HDFS-525:
---------------------------------

    Attachment: HDFS-525.2.patch

After discussing with Gary, got rid of negative test for SimpleDateFormat and only retaining
the test for ThreadLocalDateFormat.

> 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
>          Components: name-node
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>         Attachments: HDFS-525.1.patch, HDFS-525.2.patch, 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