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

Remove volatile from LightWeightHashSet

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      LightWeight*Set is not supposed to be thread-safe and there is no point to use volatile for modification.

        Attachments

        1. HADOOP-9980.patch
          0.7 kB
          Junping Du
        2. HDFS-5267.patch
          0.7 kB
          Junping Du
        3. HDFS-5276.patch
          0.7 kB
          Junping Du

          Issue Links

            Activity

              People

              • Assignee:
                junping_du Junping Du
                Reporter:
                junping_du Junping Du
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: