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 Tue, 04 Aug 2009 01:42:14 GMT

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

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

Additionally the following code masks any exceptions issues in {{ListPathsServlet.doGet()}}
try block if in finally block {{doc.endDocument()}} encounters 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
>
> 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