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

Unsafe use of Text as a ConcurrentHashMap key in PBHelperClient

    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 tlipcon: since Text is mutable, it's not safe to use as a hash map key.

      Attachments

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

        Activity

          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: