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