You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2009/06/24 04:59:07 UTC

[jira] Created: (CASSANDRA-252) Auto-ring-verification for nodeprobe

Auto-ring-verification for nodeprobe
------------------------------------

                 Key: CASSANDRA-252
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-252
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Jonathan Ellis


Can we make nodeprobe take a list of IPs, connect to each, and verify that they all see the same ring?

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


[jira] Commented: (CASSANDRA-252) Auto-ring-verification for nodeprobe

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723568#action_12723568 ] 

Eric Evans commented on CASSANDRA-252:
--------------------------------------

Nodeprobe is very node-centric so I'm not sure that's the best place for such functionality, but I agree, that would be useful. 

> Auto-ring-verification for nodeprobe
> ------------------------------------
>
>                 Key: CASSANDRA-252
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-252
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>
> Can we make nodeprobe take a list of IPs, connect to each, and verify that they all see the same ring?

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


[jira] Updated: (CASSANDRA-252) Auto-ring-verification for nodeprobe

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-252:
-------------------------------------

    Component/s:     (was: Core)
                 Tools

> Auto-ring-verification for nodeprobe
> ------------------------------------
>
>                 Key: CASSANDRA-252
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-252
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Jonathan Ellis
>            Assignee: Eric Evans
>
> Can we make nodeprobe take a list of IPs, connect to each, and verify that they all see the same ring?

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


[jira] Commented: (CASSANDRA-252) Auto-ring-verification for nodeprobe

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723602#action_12723602 ] 

Jonathan Ellis commented on CASSANDRA-252:
------------------------------------------

That works for me too.

> Auto-ring-verification for nodeprobe
> ------------------------------------
>
>                 Key: CASSANDRA-252
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-252
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>            Assignee: Eric Evans
>
> Can we make nodeprobe take a list of IPs, connect to each, and verify that they all see the same ring?

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


[jira] Updated: (CASSANDRA-252) Auto-ring-verification for nodeprobe

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Evans updated CASSANDRA-252:
---------------------------------

    Attachment: v1-0001-CASSANDRA-252-initial-commit-of-circuit-contrib-app.txt

> Auto-ring-verification for nodeprobe
> ------------------------------------
>
>                 Key: CASSANDRA-252
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-252
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Jonathan Ellis
>            Assignee: Eric Evans
>             Fix For: 0.5
>
>         Attachments: circuit.png, v1-0001-CASSANDRA-252-initial-commit-of-circuit-contrib-app.txt
>
>
> Can we make nodeprobe take a list of IPs, connect to each, and verify that they all see the same ring?

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


[jira] Commented: (CASSANDRA-252) Auto-ring-verification for nodeprobe

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723571#action_12723571 ] 

Jonathan Ellis commented on CASSANDRA-252:
------------------------------------------

What would be a better place?

> Auto-ring-verification for nodeprobe
> ------------------------------------
>
>                 Key: CASSANDRA-252
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-252
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>            Assignee: Eric Evans
>
> Can we make nodeprobe take a list of IPs, connect to each, and verify that they all see the same ring?

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


[jira] Updated: (CASSANDRA-252) Auto-ring-verification for nodeprobe

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Evans updated CASSANDRA-252:
---------------------------------

    Attachment: circuit.png

A screenshot of something I"ve been playing with.

> Auto-ring-verification for nodeprobe
> ------------------------------------
>
>                 Key: CASSANDRA-252
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-252
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Jonathan Ellis
>            Assignee: Eric Evans
>             Fix For: 0.5
>
>         Attachments: circuit.png
>
>
> Can we make nodeprobe take a list of IPs, connect to each, and verify that they all see the same ring?

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


[jira] Assigned: (CASSANDRA-252) Auto-ring-verification for nodeprobe

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Evans reassigned CASSANDRA-252:
------------------------------------

    Assignee: Eric Evans

> Auto-ring-verification for nodeprobe
> ------------------------------------
>
>                 Key: CASSANDRA-252
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-252
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>            Assignee: Eric Evans
>
> Can we make nodeprobe take a list of IPs, connect to each, and verify that they all see the same ring?

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


[jira] Commented: (CASSANDRA-252) Auto-ring-verification for nodeprobe

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723409#action_12723409 ] 

Jonathan Ellis commented on CASSANDRA-252:
------------------------------------------

(See CASSANDRA-211 for motivation and nodeprobe genesis)

> Auto-ring-verification for nodeprobe
> ------------------------------------
>
>                 Key: CASSANDRA-252
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-252
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>
> Can we make nodeprobe take a list of IPs, connect to each, and verify that they all see the same ring?

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


[jira] Commented: (CASSANDRA-252) Auto-ring-verification for nodeprobe

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768220#action_12768220 ] 

Gary Dusbabek commented on CASSANDRA-252:
-----------------------------------------

I've modified the code so that the verify creates a new ring model for each node queried from the original single node.  But the jmx port isn't part of Node and doesn't seem to be available via StorageService.  

This means we would either have to rely on a static port (which it is not) or figure out a way to ascertain the jmx port given a host.

> Auto-ring-verification for nodeprobe
> ------------------------------------
>
>                 Key: CASSANDRA-252
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-252
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Jonathan Ellis
>            Assignee: Eric Evans
>             Fix For: 0.5
>
>         Attachments: circuit.png, v1-0001-CASSANDRA-252-initial-commit-of-circuit-contrib-app.txt
>
>
> Can we make nodeprobe take a list of IPs, connect to each, and verify that they all see the same ring?

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


[jira] Commented: (CASSANDRA-252) Auto-ring-verification for nodeprobe

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723593#action_12723593 ] 

Eric Evans commented on CASSANDRA-252:
--------------------------------------

I was thinking another (as yet to be created ) cli utility, one where other cluster-centric operations could be added as we think of them.

> Auto-ring-verification for nodeprobe
> ------------------------------------
>
>                 Key: CASSANDRA-252
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-252
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>            Assignee: Eric Evans
>
> Can we make nodeprobe take a list of IPs, connect to each, and verify that they all see the same ring?

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


[jira] Commented: (CASSANDRA-252) Auto-ring-verification for nodeprobe

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768065#action_12768065 ] 

Gary Dusbabek commented on CASSANDRA-252:
-----------------------------------------

I like the visualization.

I have some questions about the code.  It looks like the seedName in RingModel can be any host in the ring.  If that is the case, then the remote host/port parameters in the query methods aren't needed.  Right?  I created a RingModel using the host/port of a non-seed node and the visualization was still correct.

> Auto-ring-verification for nodeprobe
> ------------------------------------
>
>                 Key: CASSANDRA-252
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-252
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Jonathan Ellis
>            Assignee: Eric Evans
>             Fix For: 0.5
>
>         Attachments: circuit.png, v1-0001-CASSANDRA-252-initial-commit-of-circuit-contrib-app.txt
>
>
> Can we make nodeprobe take a list of IPs, connect to each, and verify that they all see the same ring?

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


[jira] Commented: (CASSANDRA-252) Auto-ring-verification for nodeprobe

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768662#action_12768662 ] 

Hudson commented on CASSANDRA-252:
----------------------------------

Integrated in Cassandra #235 (See [http://hudson.zones.apache.org/hudson/job/Cassandra/235/])
    initial commit of visualization and diagnostics app

Patch by eevans and gdusbabek; reviewed by gdusbabek for 


> Auto-ring-verification for nodeprobe
> ------------------------------------
>
>                 Key: CASSANDRA-252
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-252
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Jonathan Ellis
>            Assignee: Eric Evans
>             Fix For: 0.5
>
>         Attachments: cassandra-252-swing-mods.diff, circuit.png, v1-0001-CASSANDRA-252-initial-commit-of-circuit-contrib-app.txt
>
>
> Can we make nodeprobe take a list of IPs, connect to each, and verify that they all see the same ring?

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


[jira] Updated: (CASSANDRA-252) Auto-ring-verification for nodeprobe

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Dusbabek updated CASSANDRA-252:
------------------------------------

    Attachment: cassandra-252-swing-mods.diff

A few swing changes, including a friendly message on the screen when the verification is in-process.

I moved the images to contrib/circuit/resources/images so that they can be easily loaded from the IDE or a jar file.

Alas, svn diff doesn't include the images, so you would have to move them manually to test this.

> Auto-ring-verification for nodeprobe
> ------------------------------------
>
>                 Key: CASSANDRA-252
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-252
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Jonathan Ellis
>            Assignee: Eric Evans
>             Fix For: 0.5
>
>         Attachments: cassandra-252-swing-mods.diff, circuit.png, v1-0001-CASSANDRA-252-initial-commit-of-circuit-contrib-app.txt
>
>
> Can we make nodeprobe take a list of IPs, connect to each, and verify that they all see the same ring?

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