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

BlockPlacementPolicyWithNodeGroup should validate if it is initialized by NetworkTopologyWithNodeGroup

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.2, 3.3.1, 3.4.0
    • 3.2.2, 3.3.1, 3.4.0
    • block placement
    • None

    Description

      BlockPlacementPolicyWithNodeGroup  type casts the initialized  clusterMap 

      NetworkTopologyWithNodeGroup clusterMapNodeGroup =
          (NetworkTopologyWithNodeGroup) clusterMap 

      If clusterMap is an instance of DFSNetworkTopology we get a ClassCastException

      Attachments

        1. HDFS-15363.001.patch
          3 kB
          Hemanth Boyina
        2. HDFS-15363-testrepro.patch
          5 kB
          Hemanth Boyina

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hemanthboyina Hemanth Boyina
            hemanthboyina Hemanth Boyina
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment