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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment