You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2013/08/21 08:19:51 UTC

[jira] [Created] (MAPREDUCE-5473) JT webservices use a static SimpleDateFormat, SImpleDateFormat is not threadsafe

Alejandro Abdelnur created MAPREDUCE-5473:
---------------------------------------------

             Summary: JT webservices use a static SimpleDateFormat, SImpleDateFormat is not threadsafe
                 Key: MAPREDUCE-5473
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5473
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: mrv1
    Affects Versions: 1.2.0
            Reporter: Alejandro Abdelnur


MAPREDUCE-4837 is doing:

{code}
<%!static SimpleDateFormat dateFormat = new SimpleDateFormat(
      "d-MMM-yyyy HH:mm:ss");
{code}

But SimpleDateFormat is not thread safe.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira