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

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

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.


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

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE reopened HDFS-525:
-----------------------------------------


Reopen for committing this to 0.20.

> 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.21.0
>
>         Attachments: HDFS-525.1.patch, HDFS-525.2.patch, HDFS-525.patch, HDFS-525.patch, HDFS-525.rel20.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.


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

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE resolved HDFS-525.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.20.1

I have also committed this to 0.20.1.

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


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

Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Douglas reopened HDFS-525:
--------------------------------


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