Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-525

ListPathsServlet.java uses static SimpleDateFormat that has threading issues

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.20.1, 0.21.0
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      SimpleDateFormat is not thread safe. Multiple threads accessing the servlet can cause threading issues

      1. HDFS.525-3.patch
        5 kB
        Chris Douglas
      2. HDFS.525-3.patch
        5 kB
        Chris Douglas
      3. HDFS.525-3v20.patch
        5 kB
        Chris Douglas
      4. HDFS-525.1.patch
        11 kB
        Suresh Srinivas
      5. HDFS-525.2.patch
        10 kB
        Suresh Srinivas
      6. HDFS-525.patch
        8 kB
        Suresh Srinivas
      7. HDFS-525.patch
        8 kB
        Suresh Srinivas
      8. HDFS-525.rel20.patch
        10 kB
        Suresh Srinivas

        Activity

        Suresh Srinivas created issue -
        Suresh Srinivas made changes -
        Field Original Value New Value
        Attachment HDFS-525.patch [ 12415990 ]
        Suresh Srinivas made changes -
        Attachment HDFS-525.patch [ 12416087 ]
        Suresh Srinivas made changes -
        Attachment HDFS-525.1.patch [ 12416106 ]
        Tsz Wo Nicholas Sze made changes -
        Hadoop Flags [Reviewed]
        Component/s name-node [ 12312926 ]
        Suresh Srinivas made changes -
        Attachment HDFS-525.2.patch [ 12416122 ]
        Tsz Wo Nicholas Sze made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Tsz Wo Nicholas Sze made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.21.0 [ 12314046 ]
        Resolution Fixed [ 1 ]
        Suresh Srinivas made changes -
        Attachment HDFS-525.rel20.patch [ 12416146 ]
        Tsz Wo Nicholas Sze made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Tsz Wo Nicholas Sze made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Fix Version/s 0.20.1 [ 12314048 ]
        Resolution Fixed [ 1 ]
        Chris Douglas made changes -
        Attachment HDFS.525-3.patch [ 12417837 ]
        Chris Douglas made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Chris Douglas made changes -
        Status Reopened [ 4 ] Patch Available [ 10002 ]
        Hadoop Flags [Reviewed]
        Chris Douglas made changes -
        Attachment HDFS.525-3.patch [ 12417938 ]
        Chris Douglas made changes -
        Attachment HDFS.525-3v20.patch [ 12417939 ]
        Chris Douglas made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Robert Chansler made changes -
        Release Note Uses of SimpleDateFormat were changed to use a thread local instance of the class. This corrects a problem where the name node's web services became unresponsive requiring a restart of the name system.
        Robert Chansler made changes -
        Release Note Uses of SimpleDateFormat were changed to use a thread local instance of the class. This corrects a problem where the name node's web services became unresponsive requiring a restart of the name system.
        Tom White made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Suresh Srinivas
            Reporter:
            Suresh Srinivas
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development