[ https://issues.apache.org/jira/browse/HDFS-15363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shilun Fan updated HDFS-15363: ------------------------------ Component/s: block placement Hadoop Flags: Reviewed Target Version/s: 3.3.1, 3.2.2, 3.4.0 Affects Version/s: 3.3.1 3.2.2 3.4.0 > BlockPlacementPolicyWithNodeGroup should validate if it is initialized by > NetworkTopologyWithNodeGroup > ------------------------------------------------------------------------------------------------------ > > Key: HDFS-15363 > URL: https://issues.apache.org/jira/browse/HDFS-15363 > Project: Hadoop HDFS > Issue Type: Bug > Components: block placement > Affects Versions: 3.2.2, 3.3.1, 3.4.0 > Reporter: Hemanth Boyina > Assignee: Hemanth Boyina > Priority: Major > Fix For: 3.2.2, 3.3.1, 3.4.0 > > Attachments: HDFS-15363-testrepro.patch, HDFS-15363.001.patch > > > BlockPlacementPolicyWithNodeGroup type casts the initialized clusterMap > {code:java} > NetworkTopologyWithNodeGroup clusterMapNodeGroup = > (NetworkTopologyWithNodeGroup) clusterMap {code} > If clusterMap is an instance of DFSNetworkTopology we get a ClassCastException -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org