Hadoop Common
  1. Hadoop Common
  2. HADOOP-3863

Use a thread-local rather than static ENCODER/DECODER variables in Text for synchronization

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.18.0
    • Fix Version/s: 0.19.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Text.

      {ENCODER|DECODER}

      are static variables which need to be synchronized in Text.

      {read|write}String; given that lots of RPC code calls Text.{read|write}

      String the contention for this lock shows up very significantly on large clusters.

      1. HADOOP-3863_0_20080730.patch
        5 kB
        Arun C Murthy
      2. HADOOP-3863_1_20080730.patch
        5 kB
        Arun C Murthy

        Activity

        Arun C Murthy created issue -
        Arun C Murthy made changes -
        Field Original Value New Value
        Attachment HADOOP-3863_0_20080730.patch [ 12387218 ]
        Arun C Murthy made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Arun C Murthy made changes -
        Attachment HADOOP-3863_1_20080730.patch [ 12387235 ]
        Owen O'Malley made changes -
        Resolution Fixed [ 1 ]
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Nigel Daley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Owen O'Malley made changes -
        Component/s mapred [ 12310690 ]

          People

          • Assignee:
            Arun C Murthy
            Reporter:
            Arun C Murthy
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development