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

BlockPlacementPolicyWithNodeGroup should validate if it is initialized by NetworkTopologyWithNodeGroup

    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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: