[jira] [Moved] (NET-452) NetworkTopology::getLeaf should check for invalid topologies

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Moved] (NET-452) NetworkTopology::getLeaf should check for invalid topologies

ASF GitHub Bot (Jira)

     [ https://issues.apache.org/jira/browse/NET-452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin Patrick McCabe moved HDFS-3073 to NET-452:
------------------------------------------------

             Assignee:     (was: Colin Patrick McCabe)
     Target Version/s:   (was: 1.0.0)
    Affects Version/s:     (was: 1.0.0)
             Workflow: jira  (was: no-reopen-closed, patch-avail)
                  Key: NET-452  (was: HDFS-3073)
              Project: Commons Net  (was: Hadoop HDFS)
   

> NetworkTopology::getLeaf should check for invalid topologies
> ------------------------------------------------------------
>
>                 Key: NET-452
>                 URL: https://issues.apache.org/jira/browse/NET-452
>             Project: Commons Net
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>         Attachments: HDFS-3073.002.patch
>
>
> Currently, NetworkTopology::getLeaf doesn't do too much validation on the NetworkTopology object itself.  This results in us getting ClassCastException sometimes when the topology is invalid.  We should have a less confusing exception message for this case.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira