hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Binglin Chang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-2930) Generate state graph from the State Machine Definition
Date Sun, 04 Sep 2011 09:04:09 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-2930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Binglin Chang updated MAPREDUCE-2930:
-------------------------------------

        Fix Version/s: 0.23.0
             Assignee: Binglin Chang
    Affects Version/s: 0.23.0
         Release Note: Generate state graph from State Machine Definition
               Status: Patch Available  (was: Open)

To generate state graph:
mvn exec:java -Dexec.mainClass="org.apache.hadoop.yarn.util.VisualizeStateMachine" -Dexec.args="RM
org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptImpl,org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl,org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.RMContainerImpl,org.apache.hadoop.yarn.server.resourcemanager.rmnode.RMNodeImpl
RMAll.gv"

mvn exec:java -Dexec.mainClass="org.apache.hadoop.yarn.util.VisualizeStateMachine" -Dexec.args="NM
org.apache.hadoop.yarn.server.nodemanager.containermanager.application.ApplicationImpl,org.apache.hadoop.yarn.server.nodemanager.containermanager.container.ContainerImpl,org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.LocalizedResource
NMAll.gv"

dot $f -Tpng -Glabel="ResourceManager State Graph" -Gfontname=Helvetica -Gfontsize=24 -Nfontname=Helvetica
-Nfontsize=12 -Efontsize=9 -Efontcolor=blue -Efontname=Arial > ResourceManager.png

I think this work needs to be improved, I post patch here so people can give advice.

Is it possible to visualize EVENT relationships between Components through information added
in annotation?


> Generate state graph from the State Machine Definition
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-2930
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2930
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>    Affects Versions: 0.23.0
>            Reporter: Sharad Agarwal
>            Assignee: Binglin Chang
>             Fix For: 0.23.0
>
>
> It would be nice to automatically generate the state machine visualization from the state
machine declaration using graphviz or some such. Some state graphs already attached to MAPREDUCE-279.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message