hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun C Murthy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1266) Remove DatanodeDescriptor dependency from NetworkTopology
Date Thu, 23 Aug 2007 18:52:30 GMT

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

Arun C Murthy commented on HADOOP-1266:
---------------------------------------

+1, sounds like a good direction.

This is critical for getting map-reduce to be rack aware, specifically {{org.apache.hadoop.net.NetworkTopology.isOnSameRack}}.
I need this for HADOOP-1721.

> 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
>
> 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.


Mime
View raw message