You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Eli Collins (JIRA)" <ji...@apache.org> on 2012/05/13 22:05:50 UTC
[jira] [Resolved] (HDFS-3237) DatanodeInfo should have a DatanodeID
rather than extend it
[ https://issues.apache.org/jira/browse/HDFS-3237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins resolved HDFS-3237.
-------------------------------
Resolution: Won't Fix
We rely on the current structure - DatanodeDescriptor extends DataNodeInfo extends DatanodeID - in a lot of places. This requires more surgery than is probably worthwhile.
> DatanodeInfo should have a DatanodeID rather than extend it
> -----------------------------------------------------------
>
> Key: HDFS-3237
> URL: https://issues.apache.org/jira/browse/HDFS-3237
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Eli Collins
> Assignee: Eli Collins
> Priority: Minor
>
> DatanodeInfo currently extends DatanodeID, the code would be more clear if it had a DatanodeID member instead, as DatanodeInfo is private within the server side and DatanodeID is passed to clients.
--
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