You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (Moved) (JIRA)" <ji...@apache.org> on 2012/02/09 13:59:59 UTC
[jira] [Moved] (HADOOP-8046) Revert ScriptBasedMapping semantics to
the existing ones, add DNS mapping diagnostics in progress
[ https://issues.apache.org/jira/browse/HADOOP-8046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Loughran moved HDFS-2925 to HADOOP-8046:
----------------------------------------------
Affects Version/s: (was: 0.24.0)
(was: 0.23.0)
0.24.0
0.23.0
Key: HADOOP-8046 (was: HDFS-2925)
Project: Hadoop Common (was: Hadoop HDFS)
> Revert ScriptBasedMapping semantics to the existing ones, add DNS mapping diagnostics in progress
> -------------------------------------------------------------------------------------------------
>
> Key: HADOOP-8046
> URL: https://issues.apache.org/jira/browse/HADOOP-8046
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 0.23.0, 0.24.0
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Priority: Minor
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> HADOOP-7878 still doesn't let the block manager switch to non-scripted topologies because the static mapping is still getting it wrong -it should just look at the configuration for a non-null script name, as per the usual {{ScriptBasedMapping}}, so as to keep tests backwards compatible.
> In the process, make it possible to debug topologies by
> # {{#toString()}} operations to provide summary information, and for the {{CachedDNSToSwitchMapping}}, to include information on the inner mapping. {{ScriptBasedMapping}} to include the script name.
> # {{AbstractDNSToSwitchMapping} to offer a method {{getSwitchMap()}} to return a cloned map of the mapping, or null if this is not known.
> # {{AbstractDNSToSwitchMapping} to offer a method {{dumpTopology()}} to take this switch map and the toString() and generate a topology dump suitable for humans.
> # Implementing the switch map method for the standard mappings (Cached -> cached map, Static -> static map, Script -> null).
> These methods are all for debugging, but there is no reason not to use the contents of {{getSwitchMap()}} in service web pages providing details on the service's current view of the network topology, as it may differ from the expectations of the script author.
> time: 30m to implement, 1h30 to write more tests and run them.
--
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