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 Fri, 28 Aug 2009 00:58:59 GMT

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

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

One of the other thing previous patch fixed was to move {{doc.endDocument()}} to the end of
try block. This is to ensure we do not override the exception previously caused by an exception
in {{doc.endDocument()}}, if {{doc.startTag()}} has not been called. That change needs to
be added back to help debug the problem where servlet returns 500 response 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
>          Components: name-node
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.1, 0.21.0
>
>         Attachments: HDFS-525.1.patch, HDFS-525.2.patch, HDFS-525.patch, HDFS-525.patch,
HDFS-525.rel20.patch, HDFS.525-3.patch, HDFS.525-3.patch, HDFS.525-3v20.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