Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13611

Unsafe use of Text as a ConcurrentHashMap key in PBHelperClient

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.0, 3.2.0, 3.1.1, 3.0.4
    • 2.10.0, 3.2.0, 3.1.1, 3.0.3
    • None
    • None

    Description

      Follow on to HDFS-13601, a bug spotted by Todd Lipcon: since Text is mutable, it's not safe to use as a hash map key.

      Attachments

        1. HDFS-13611.002.patch
          0.8 kB
          Andrew Wang
        2. HDFS-13611.001.patch
          2 kB
          Andrew Wang

        Activity

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

          People

            andrew.wang Andrew Wang
            andrew.wang Andrew Wang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment