hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HADOOP-415) DFSNodesStatus() should sort data nodes.
Date Fri, 04 Aug 2006 20:03:14 GMT
     [ http://issues.apache.org/jira/browse/HADOOP-415?page=all ]

Doug Cutting resolved HADOOP-415.

    Resolution: Fixed

I just committed this.  Thanks, Devaraj!

> DFSNodesStatus() should sort data nodes.
> ----------------------------------------
>                 Key: HADOOP-415
>                 URL: http://issues.apache.org/jira/browse/HADOOP-415
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.4.0
>            Reporter: Konstantin Shvachko
>             Fix For: 0.5.0
>         Attachments: refactor_nodestatus.patch, refactor_nodestatus.patch
> HADOOP-392 introduced a new TreeMap member (datanodeMapByName) in the name node.
> It is used solely for reporting the data nodes in the UI sorted by their names.
> I think it is quite inefficient both time and space-wise to support an excessive
> data structure just for that.
> Suppose the UI will also require sorting by last heartbeat and/or by the available space....
> I think DFSNodesStatus() should just sort the original datanodeMap before returning the

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message