[
https://issues.apache.org/jira/browse/HADOOP-8159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16954810#comment-16954810
]
Íñigo Goiri commented on HADOOP-8159:
-------------------------------------
[~leosun08], that makes sense, it looks redundant.
Please open a separate JIRA to tackle this.
> NetworkTopology: getLeaf should check for invalid topologies
> ------------------------------------------------------------
>
> Key: HADOOP-8159
> URL: https://issues.apache.org/jira/browse/HADOOP-8159
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Colin McCabe
> Assignee: Colin McCabe
> Priority: Major
> Fix For: 1.1.0, 2.0.0-alpha
>
> Attachments: HADOOP-8159-b1.005.patch, HADOOP-8159-b1.007.patch,
> HADOOP-8159.005.patch, HADOOP-8159.006.patch, HADOOP-8159.007.patch,
> HADOOP-8159.008.patch, HADOOP-8159.009.patch
>
>
> Currently, in NetworkTopology, getLeaf doesn't do too much validation on the
> InnerNode object itself. This results in us getting ClassCastException
> sometimes when the network topology is invalid. We should have a less
> confusing exception message for this case.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]