hadoop-zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Hunt (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ZOOKEEPER-773) Log visualisation
Date Thu, 03 Jun 2010 23:35:58 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875358#action_12875358
] 

Patrick Hunt commented on ZOOKEEPER-773:
----------------------------------------

Ivan, works better now in chrome, however still does not work at all in 3.5.9 of firefox.
I even created a new clean profile in firefox but that did not help. I click on the links
and nothing happens.

Issues in chrome:

1) I created a 5 server ensemble and started it. The quorum formed with 1-4 as followers and
5 as leader. I opened all the logs in loggraph and selected "server view". only servers 1-4
were displayed, 5 is missing.  is there some requirement on the zk version? I'm using it with
trunk.

2) the file browser randomizes the file/directory list, that makes it very hard to navigate

3) do you want to change zkgraph references to loggraph in the contrib? for example in the
readme? (try doing grep -Ri zkgraph at the toplevel)


> Log visualisation
> -----------------
>
>                 Key: ZOOKEEPER-773
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-773
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: contrib
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>            Priority: Minor
>             Fix For: 3.4.0
>
>         Attachments: ZOOKEEPER-773.diff, ZOOKEEPER-773_2.diff
>
>
> Zkgraph is a log viewer for zookeeper. It can handle transaction logs and message logs.
There are currently two view.
>  
>   a) Server view
>      The server view shows the interactions between the different servers in an ensemble.
The X axis represents time. 
>         * Exceptions show up as red dots. Hovering your mouse over them will give you
more details of the exception
> 	* The colour of the line represents the election state of the server. 
> 	   - orange means LOOKING for leader
> 	   - dark green means the server is the leader
> 	   - light green means the server is following a leader
> 	   - yellow means there isn't enough information to determine the state of the server.

> 	* The gray arrows denote election messages between servers. Pink dashed arrows are messages
that were sent but never delivered.
>    b) Session view
>       The session view shows the lifetime of sessions on a server. Use the time filter
to narrow down the view. Any more than about 2000 events will take a long time to view in
your browser. 
>       The Y axis represents time in this case. Each line is a session. The black dots
represent events on the session. You can click on the black dots for more details of the event.
> 2 - Compiling & Running
> Run "ant jar" in src/contrib/zkgraph/. This will download all dependencies and compile
all the zkgraph code.
> Once compilation has finished, you can run it the the zkgraph.sh script in src/contrib/zkgraph/bin.
This will start and embedded web server on you machine. Navigate to http://localhost:8182/graph/main.html.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message