lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3174) Visualize Cluster State
Date Thu, 05 Apr 2012 20:42:23 GMT

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

Mark Miller commented on SOLR-3174:
-----------------------------------

The reason it's kind of complicated is because when a node is shutdown or dies, it's published
state does not get updated...so a down node could be listed as active. Because of this, the
true state is a mix of /live_nodes and the state. If the node_name is listed under /live_nodes,
then the state is the truth - if the node is not listed under /live_nodes, the state for the
node could be anything and indicates nothing - the node is down and not part of the cluster.

For example:
{noformat}
[{
    "num_shards":"2",
    "shard":"shard1",
    "state":"active",
    "core":"",
    "collection":"collection1",
    "node_name":"halfmetal:7574_solr",
    "base_url":"http://halfmetal:7574/solr"}]
{noformat}

This node is listed as active, but looking at /live_nodes:

{noformat}
/live_nodes/halfmetal:8983_solr
/live_nodes/halfmetal:9983_solr
/live_nodes/halfmetal:3983_solr
{noformat}

It's 'node_name' is not listed, and so the node should be considered 'gone'. This is actually
different than the 'down' state - a node might be listed in /live_nodes, meaning it's part
of the cluster, but have a state of 'down' because it could not properly start.
                
> Visualize Cluster State
> -----------------------
>
>                 Key: SOLR-3174
>                 URL: https://issues.apache.org/jira/browse/SOLR-3174
>             Project: Solr
>          Issue Type: New Feature
>          Components: web gui
>            Reporter: Ryan McKinley
>            Assignee: Stefan Matheis (steffkes)
>         Attachments: SOLR-3174-graph.png, SOLR-3174-graph.png, SOLR-3174-rgraph.png,
SOLR-3174-rgraph.png, SOLR-3174.patch, SOLR-3174.patch
>
>
> It would be great to visualize the cluster state in the new UI. 
> See Mark's wish:
> https://issues.apache.org/jira/browse/SOLR-3162?focusedCommentId=13218272&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13218272

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message