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

Unsafe use of Text as a ConcurrentHashMap key in PBHelperClient

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.10.0, 3.2.0, 3.1.1, 3.0.4
    • Fix Version/s: 2.10.0, 3.2.0, 3.1.1, 3.0.3
    • Component/s: None
    • Labels:
      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.001.patch
          2 kB
          Andrew Wang
        2. HDFS-13611.002.patch
          0.8 kB
          Andrew Wang

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: