You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Hairong Kuang (JIRA)" <ji...@apache.org> on 2007/09/07 01:26:28 UTC

[jira] Updated: (HADOOP-1266) Remove DatanodeDescriptor dependency from NetworkTopology

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

Hairong Kuang updated HADOOP-1266:
----------------------------------

    Attachment: GenericTopology.patch

This patch removes the NetworkTopology's dependency on DatanodeDescriptor.

> Remove DatanodeDescriptor dependency from NetworkTopology
> ---------------------------------------------------------
>
>                 Key: HADOOP-1266
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1266
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: Konstantin Shvachko
>            Assignee: Hairong Kuang
>         Attachments: GenericTopology.patch
>
>
> NetworkTopology should operate only with the Node interface.
> The actual class DatanodeDescriptor, which implements Node should not be used inside.
> We should avoid introducing unnecessary dependencies.
> This is the typical case when everything can and should be defined using the interface.
> This becomes a requirement if we want to measure distances between other than data-nodes
> types of nodes like TaskTrackers, clients.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.