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

[jira] Created: (CASSANDRA-181) Allow each node to specify its initial token

Allow each node to specify its initial token
--------------------------------------------

                 Key: CASSANDRA-181
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-181
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Jun Rao
            Assignee: Jun Rao
            Priority: Minor


Sometimes, the random tokens obtained by each node may not distribute the keys evenly. It would be useful if a node can specify this explicitly.

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


[jira] Commented: (CASSANDRA-181) Allow each node to specify its initial token

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

Jonathan Ellis commented on CASSANDRA-181:
------------------------------------------

can you configure eclipse to not do this?

-    private static String configFileName_;^M
+    private static String configFileName_;    ^M

(I can clean up this time but it would be nice for future reference.)

> Allow each node to specify its initial token
> --------------------------------------------
>
>                 Key: CASSANDRA-181
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-181
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jun Rao
>            Assignee: Jun Rao
>            Priority: Minor
>         Attachments: issue181.patchv1
>
>
> Sometimes, the random tokens obtained by each node may not distribute the keys evenly. It would be useful if a node can specify this explicitly.

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


[jira] Commented: (CASSANDRA-181) Allow each node to specify its initial token

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

Jonathan Ellis commented on CASSANDRA-181:
------------------------------------------

(it's not very clear in jira -- there's an extra bunch of whitespace before the newline in the patched version)

> Allow each node to specify its initial token
> --------------------------------------------
>
>                 Key: CASSANDRA-181
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-181
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jun Rao
>            Assignee: Jun Rao
>            Priority: Minor
>         Attachments: issue181.patchv1
>
>
> Sometimes, the random tokens obtained by each node may not distribute the keys evenly. It would be useful if a node can specify this explicitly.

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


[jira] Commented: (CASSANDRA-181) Allow each node to specify its initial token

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

Jonathan Ellis commented on CASSANDRA-181:
------------------------------------------

we don't have any facility for specifying per-test config files yet, and there's not a whole lot we can do automatically here w/o that.  i think testing this one manually is fine.

> Allow each node to specify its initial token
> --------------------------------------------
>
>                 Key: CASSANDRA-181
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-181
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jun Rao
>            Assignee: Jun Rao
>            Priority: Minor
>         Attachments: issue181.patchv1
>
>
> Sometimes, the random tokens obtained by each node may not distribute the keys evenly. It would be useful if a node can specify this explicitly.

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


[jira] Commented: (CASSANDRA-181) Allow each node to specify its initial token

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

Jeff Hodges commented on CASSANDRA-181:
---------------------------------------

I don't see any tests in this patch.

> Allow each node to specify its initial token
> --------------------------------------------
>
>                 Key: CASSANDRA-181
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-181
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jun Rao
>            Assignee: Jun Rao
>            Priority: Minor
>         Attachments: issue181.patchv1
>
>
> Sometimes, the random tokens obtained by each node may not distribute the keys evenly. It would be useful if a node can specify this explicitly.

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


[jira] Updated: (CASSANDRA-181) Allow each node to specify its initial token

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

Jun Rao updated CASSANDRA-181:
------------------------------

    Attachment: issue181.patchv1

Attach a patch. This allows one to set something like the following in the conf file.
<InitialToken>66666</InitialToken> 

> Allow each node to specify its initial token
> --------------------------------------------
>
>                 Key: CASSANDRA-181
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-181
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jun Rao
>            Assignee: Jun Rao
>            Priority: Minor
>         Attachments: issue181.patchv1
>
>
> Sometimes, the random tokens obtained by each node may not distribute the keys evenly. It would be useful if a node can specify this explicitly.

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


[jira] Commented: (CASSANDRA-181) Allow each node to specify its initial token

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

Hudson commented on CASSANDRA-181:
----------------------------------

Integrated in Cassandra #78 (See [http://hudson.zones.apache.org/hudson/job/Cassandra/78/])
    allow specifying initial token.  patch by Jun Rao; reviewed by jbellis for 


> Allow each node to specify its initial token
> --------------------------------------------
>
>                 Key: CASSANDRA-181
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-181
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jun Rao
>            Assignee: Jun Rao
>            Priority: Minor
>         Attachments: issue181.patchv1
>
>
> Sometimes, the random tokens obtained by each node may not distribute the keys evenly. It would be useful if a node can specify this explicitly.

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