You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sammy Yu (JIRA)" <ji...@apache.org> on 2009/08/14 00:05:16 UTC

[jira] Created: (CASSANDRA-363) Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set

Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set
-------------------------------------------------------------------------

                 Key: CASSANDRA-363
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-363
             Project: Cassandra
          Issue Type: New Feature
            Reporter: Sammy Yu
            Assignee: Sammy Yu




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


[jira] Updated: (CASSANDRA-363) Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set

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

Sammy Yu updated CASSANDRA-363:
-------------------------------

    Attachment: 0001-Added-the-ability-to-set-the-initial-token.patch

Use the verb handler in .tools which works :)  Updated client and added tokenupdater script.


> Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-363
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-363
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.5
>            Reporter: Sammy Yu
>            Assignee: Sammy Yu
>             Fix For: 0.5
>
>         Attachments: 0001-Added-the-ability-to-set-the-initial-token.patch
>
>


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


[jira] Commented: (CASSANDRA-363) Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set

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

Sandeep Tata commented on CASSANDRA-363:
----------------------------------------

I've forgotten the context for this -- is this a problem with not being able to *change* initialToken once set?

> Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-363
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-363
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Sammy Yu
>            Assignee: Sammy Yu
>


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


[jira] Commented: (CASSANDRA-363) Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set

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

Jonathan Ellis commented on CASSANDRA-363:
------------------------------------------

What is the relationship of StageManager.shutdown to token updating?  Is that tested to be necessary or just something that "looks right?"

> Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-363
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-363
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.5
>            Reporter: Sammy Yu
>            Assignee: Sammy Yu
>             Fix For: 0.5
>
>         Attachments: 0001-Added-the-ability-to-set-the-initial-token.patch, 0002-CASSANDRA-363.patch
>
>


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


[jira] Updated: (CASSANDRA-363) Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set

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

Sammy Yu updated CASSANDRA-363:
-------------------------------

        Fix Version/s: 0.5
    Affects Version/s: 0.5

> Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-363
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-363
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.5
>            Reporter: Sammy Yu
>            Assignee: Sammy Yu
>             Fix For: 0.5
>
>         Attachments: 0001-Added-the-ability-to-set-the-initial-token.patch
>
>


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


[jira] Commented: (CASSANDRA-363) Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set

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

Sammy Yu commented on CASSANDRA-363:
------------------------------------

It is needed for the tokenupdater process to exit because the STAGE-RESPONSE threads are still running.   Another alternative is to set the threads spawned in the MultiThreadedStage to be set as daemon but this might have other ramifications (other executor pools and changing shutdown in general).


> Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-363
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-363
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.5
>            Reporter: Sammy Yu
>            Assignee: Sammy Yu
>             Fix For: 0.5
>
>         Attachments: 0001-Added-the-ability-to-set-the-initial-token.patch, 0002-CASSANDRA-363.patch
>
>


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


[jira] Commented: (CASSANDRA-363) Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set

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

Jonathan Ellis commented on CASSANDRA-363:
------------------------------------------

this abuses headers to set more than one node's token at once.  so you can tell nodeprobe, to tell a node, to set other nodes' tokens.  take out the middleman and just set the tokens directly with nodeprobe.  which is what it did w/o this patch.

> Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-363
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-363
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.5
>            Reporter: Sammy Yu
>            Assignee: Sammy Yu
>             Fix For: 0.5
>
>         Attachments: 0001-Added-the-ability-to-set-the-initial-token.patch
>
>


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


[jira] Updated: (CASSANDRA-363) Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set

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

Michael Greene updated CASSANDRA-363:
-------------------------------------

    Component/s: Core

> Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-363
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-363
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Sammy Yu
>            Assignee: Sammy Yu
>


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


[jira] Commented: (CASSANDRA-363) Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set

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

Sammy Yu commented on CASSANDRA-363:
------------------------------------

Chris,  the version in trunk is not usable.  I have some fixes that can work for single node, but the propagation aspect of it doesn't work.



> Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-363
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-363
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Sammy Yu
>            Assignee: Sammy Yu
>


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


[jira] Commented: (CASSANDRA-363) Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set

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

Sammy Yu commented on CASSANDRA-363:
------------------------------------

You can't set the initial token unless you set it in the config file.  I will attach a command shell script and a patch shortly that requires u to set the initial token for each node one at a time.  The original verb handler is suppose to propagate the token list to the rest of the ring, but it doesn't work.  I haven't got a chance to resolve that yet.



> Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-363
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-363
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Sammy Yu
>            Assignee: Sammy Yu
>


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


[jira] Commented: (CASSANDRA-363) Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set

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

Chris Goffinet commented on CASSANDRA-363:
------------------------------------------

Is this still a problem Sammy?

> Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-363
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-363
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Sammy Yu
>            Assignee: Sammy Yu
>


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


[jira] Commented: (CASSANDRA-363) Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set

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

Hudson commented on CASSANDRA-363:
----------------------------------

Integrated in Cassandra #199 (See [http://hudson.zones.apache.org/hudson/job/Cassandra/199/])
    Fix deserialization bug in TokenUpdateVerbHandler; change TokenUpdater to update one node at a time, and add bin/tokenupdater as a convenience.  Patch by Sammy Yu; reviewed for  by jbellis


> Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-363
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-363
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.5
>            Reporter: Sammy Yu
>            Assignee: Sammy Yu
>             Fix For: 0.5
>
>         Attachments: 0001-Added-the-ability-to-set-the-initial-token.patch, 0002-CASSANDRA-363.patch
>
>


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


[jira] Updated: (CASSANDRA-363) Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set

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

Sammy Yu updated CASSANDRA-363:
-------------------------------

    Attachment: 0002-CASSANDRA-363.patch

Made the token update specific to just one node
Use the newer token verb handler that has the right serializer
Made token updater work by starting selector thread
Added tokenupdater script
Modified messagingservice so that it can shutdown gracefully


> Reenable/Make TokenUpdateVerbHandler work so that InitialToken can be set
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-363
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-363
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.5
>            Reporter: Sammy Yu
>            Assignee: Sammy Yu
>             Fix For: 0.5
>
>         Attachments: 0001-Added-the-ability-to-set-the-initial-token.patch, 0002-CASSANDRA-363.patch
>
>


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