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

Use ConcurrentHashMap in portmap

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • nfs
    • None
    • Reviewed

    Description

      Portmap uses a HashMap to store the port mapping. It synchronizes the access of the hash map by locking itself. It can be simplified by using a ConcurrentHashMap.

      Attachments

        1. HDFS-5548.000.patch
          14 kB
          Haohui Mai
        2. HDFS-5548.001.patch
          14 kB
          Haohui Mai
        3. HDFS-5548.002.patch
          14 kB
          Haohui Mai
        4. HDFS-5548.003.patch
          14 kB
          Brandon Li

        Activity

          People

            wheat9 Haohui Mai
            wheat9 Haohui Mai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: