Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3863

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.18.0
    • 0.19.0
    • None
    • None
    • 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.

      Attachments

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

        Activity

          People

            acmurthy Arun Murthy
            acmurthy Arun Murthy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: