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 2006/11/08 23:26:53 UTC
[jira] Created: (HADOOP-697) Duplicate data node name calculation
in Datanode constructor
Duplicate data node name calculation in Datanode constructor
------------------------------------------------------------
Key: HADOOP-697
URL: http://issues.apache.org/jira/browse/HADOOP-697
Project: Hadoop
Issue Type: Improvement
Components: dfs
Affects Versions: 0.8.0
Reporter: Hairong Kuang
Assigned To: Hairong Kuang
Fix For: 0.8.1
A data node name is calculated twice when a DataNode object is constructed. One is computed at line 158 in DataNode.java using the statement:
InetAddress.getLocalHost().getHostName().
The value is passed the private DataNode constructor but is never used. The name is recomputed at lines 189-192 using the statement:
DNS.getDefaultHost(
conf.get("dfs.datanode.dns.interface", "default"),
conf.get("dfs.datanode.dns.nameserver", "default"))".
--
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
[jira] Resolved: (HADOOP-697) Duplicate data node name calculation
in Datanode constructor
Posted by "Raghu Angadi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raghu Angadi resolved HADOOP-697.
---------------------------------
Resolution: Fixed
> Duplicate data node name calculation in Datanode constructor
> ------------------------------------------------------------
>
> Key: HADOOP-697
> URL: https://issues.apache.org/jira/browse/HADOOP-697
> Project: Hadoop
> Issue Type: Improvement
> Components: dfs
> Affects Versions: 0.8.0
> Reporter: Hairong Kuang
> Assigned To: Raghu Angadi
>
> A data node name is calculated twice when a DataNode object is constructed. One is computed at line 158 in DataNode.java using the statement:
> InetAddress.getLocalHost().getHostName().
> The value is passed the private DataNode constructor but is never used. The name is recomputed at lines 189-192 using the statement:
> DNS.getDefaultHost(
> conf.get("dfs.datanode.dns.interface", "default"),
> conf.get("dfs.datanode.dns.nameserver", "default"))".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HADOOP-697) Duplicate data node name calculation
in Datanode constructor
Posted by "Raghu Angadi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raghu Angadi reassigned HADOOP-697:
-----------------------------------
Assignee: Raghu Angadi (was: Hairong Kuang)
> Duplicate data node name calculation in Datanode constructor
> ------------------------------------------------------------
>
> Key: HADOOP-697
> URL: https://issues.apache.org/jira/browse/HADOOP-697
> Project: Hadoop
> Issue Type: Improvement
> Components: dfs
> Affects Versions: 0.8.0
> Reporter: Hairong Kuang
> Assigned To: Raghu Angadi
>
> A data node name is calculated twice when a DataNode object is constructed. One is computed at line 158 in DataNode.java using the statement:
> InetAddress.getLocalHost().getHostName().
> The value is passed the private DataNode constructor but is never used. The name is recomputed at lines 189-192 using the statement:
> DNS.getDefaultHost(
> conf.get("dfs.datanode.dns.interface", "default"),
> conf.get("dfs.datanode.dns.nameserver", "default"))".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.