You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2009/08/04 03:42:14 UTC

[jira] Commented: (HDFS-525) ListPathsServlet.java uses static SimpleDateFormat that has threading issues

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