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 17:04: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.patch

Koji, thanks for the comments. I have modified the code to throw the exceptions caught (there
is not need to catch it). Also {{doc.endDocument()}} call is moved to try block. This prevents
it masking an earlier exception.

> 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