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

Remove Synchronization From BlockPlacementPolicyDefault

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.0
    • Fix Version/s: None
    • Component/s: block placement
    • Labels:
      None
    • Flags:
      Patch

      Description

      https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyDefault.java#L1010

      The clusterMap has its own internal synchronization. Also, these are only read operations so any changes applied to the clusterMap from another thread will be applied since no other thread synchronizes on the clusterMap itself (that I could find).

        Attachments

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              belugabehr David Mollitor Assign to me
              Reporter:
              belugabehr David Mollitor

              Dates

              • Created:
                Updated:

                Issue deployment