[ 
https://issues.apache.org/jira/browse/HDFS-15363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17114181#comment-17114181
 ] 

Takanobu Asanuma commented on HDFS-15363:
-----------------------------------------

[~hemanthboyina] Good catch. +1 on [^HDFS-15363.001.patch]. The failed tests 
seem not to be related.

> BlockPlacementPolicyWithNodeGroup should validate initialized NetworkTopology 
> ------------------------------------------------------------------------------
>
>                 Key: HDFS-15363
>                 URL: https://issues.apache.org/jira/browse/HDFS-15363
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: hemanthboyina
>            Assignee: hemanthboyina
>            Priority: Major
>         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.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to