[ 
https://issues.apache.org/jira/browse/CASSANDRA-3709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

paul cannon updated CASSANDRA-3709:
-----------------------------------

    Attachment: 3709.patch.txt

This utility is roughly based on Joaquin's tokentoolv2.py in the Datastax AMI 
repository at 
https://github.com/riptano/ComboAMI/blob/4305bb1db0/tokentoolv2.py . It allows 
specification of an arbitrary number of datacenters and an arbitrary number of 
nodes per each, and does a best effort to spread out same-DC nodes as much as 
possible, even when the DC sizes vary greatly.

Use with no arguments for an interactive mode, and use {{--graph}} to send a 
rendering of the generated cluster to your browser. The {{\--help}} option 
explains the rest.

Patch attached; changes also available via git in the 3709 branch in my github, 
tagged as pending/3709:

https://github.com/thepaul/cassandra/tree/pending/3709
                
> Add a token generator to standard tools
> ---------------------------------------
>
>                 Key: CASSANDRA-3709
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3709
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Tools
>            Reporter: Jonathan Ellis
>            Assignee: paul cannon
>            Priority: Minor
>             Fix For: 1.1.3
>
>         Attachments: 3709.patch.txt
>
>
> We recommend spacing nodes in a new cluster evenly around the ring; we should 
> provide a tool to generate appropriate tokens for a cluster of size X.

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

        

Reply via email to