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 (Commented) (JIRA)" <ji...@apache.org> on 2012/03/30 19:42:29 UTC

[jira] [Commented] (HADOOP-8231) Make topologies easier to set up and debug

    [ https://issues.apache.org/jira/browse/HADOOP-8231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242583#comment-13242583 ] 

Steve Loughran commented on HADOOP-8231:
----------------------------------------

Another way to simplify the process would be add JSP pages to the NN and RM, so that the topologies can be listed. The output could be an HTML table or piece of JSON. Clean HTML is easier to generate with JSP than json; JSP easier to test by parsing the output.

The simplest is just to output text/plain and print the topology information created by {{AbstractDNSToSwitchMapping.dumpTopology()}}, which is what is printed out at the end of every successful run of the HADOOP-8232 resolver runs.
                
> Make topologies easier to set up and debug
> ------------------------------------------
>
>                 Key: HADOOP-8231
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8231
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 0.23.1
>            Reporter: Steve Loughran
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> Topology scripts are a source of problems as they 
> # are site-specific.
> # hard to get right.
> # can have adverse consequences on cluster operation when they go wrong.
> This issue is to group up the features needed to make it easier for ops people to get their scripts up and running.

--
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