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 "dhruba borthakur (JIRA)" <ji...@apache.org> on 2008/03/21 20:53:27 UTC
[jira] Updated: (HADOOP-3065) Namenode does not process block
report if the rack-location script is not provided on namenode
[ https://issues.apache.org/jira/browse/HADOOP-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
dhruba borthakur updated HADOOP-3065:
-------------------------------------
Fix Version/s: 0.17.0
> Namenode does not process block report if the rack-location script is not provided on namenode
> ----------------------------------------------------------------------------------------------
>
> Key: HADOOP-3065
> URL: https://issues.apache.org/jira/browse/HADOOP-3065
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs
> Reporter: dhruba borthakur
> Assignee: Devaraj Das
> Fix For: 0.17.0
>
>
> Per HADOOP-1985, If the namenode does not have a dnsToSwicthMapping specified, it does not process block reports from datanode(s). In the ResolutionMonitor, we have the following piece of code:
> List<String> rName = dnsToSwitchMapping.resolve(dnHosts);
> if (rName == null) {
> continue;
> }
> Instead, we should probably set "DEFAULT RACK" for this datanode.
> Also, when a processBlockRepont command is dropped by the namenode, it should log a message to facilitate debugging. The code in FSNamesystem.processReport could be something like this:
> if (node.getNetworkLocation().equals(NetworkTopology.UNRESOLVED)) {
> LOG.info("Ignoring block report from " + nodeID.getName() +
> " because rack location for this datanode is still to be resolved.");
> return null; //drop the block report if the dn hasn't been resolved
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.