[ https://issues.apache.org/jira/browse/CASSANDRA-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13210372#comment-13210372 ]
Vijay commented on CASSANDRA-3412: ---------------------------------- Hi Brandon, it works fine for me, Not sure what is missing. [vijay_tcasstest@vijay_tcass-i-a6643ac3 ~]$ nt ring Keyspace2 Address DC Rack Status State Load Effective-Owership Token 141784319550391026443072753096942836216 107.21.183.168 us-east 1c Up Normal 31.91 KB 33.33% 18904575940052136859076367081351254013 79.125.30.58 eu-west 1c Up Normal 31.51 KB 50.00% 56713727820156410577229101239000783353 50.16.117.152 us-east 1c Up Normal 51.78 KB 33.33% 75618303760208547436305468319979289255 50.19.163.142 us-east 1c Up Normal 47.11 KB 44.44% 132332031580364958013534569558607324497 46.51.157.33 eu-west 1c Up Normal 27.37 KB 38.89% 141784319550391026443072753096942836216 [vijay_tcasstest@vijay_tcass-i-a6643ac3 ~]$ nt ring Keyspace3 Address DC Rack Status State Load Effective-Owership Token 141784319550391026443072753096942836216 107.21.183.168 us-east 1c Up Normal 31.91 KB 66.67% 18904575940052136859076367081351254013 79.125.30.58 eu-west 1c Up Normal 31.51 KB 50.00% 56713727820156410577229101239000783353 50.16.117.152 us-east 1c Up Normal 51.78 KB 66.67% 75618303760208547436305468319979289255 50.19.163.142 us-east 1c Up Normal 47.11 KB 66.67% 132332031580364958013534569558607324497 46.51.157.33 eu-west 1c Up Normal 27.37 KB 50.00% 141784319550391026443072753096942836216 [vijay_tcasstest@vijay_tcass-i-a6643ac3 ~]$ nt ring Warning: Output contains ownership information which does not include replication factor. Warning: Use nodetool ring <keyspace> to specify a keyspace. Address DC Rack Status State Load Owns Token 141784319550391026443072753096942836216 107.21.183.168 us-east 1c Up Normal 31.91 KB 27.78% 18904575940052136859076367081351254013 79.125.30.58 eu-west 1c Up Normal 31.51 KB 22.22% 56713727820156410577229101239000783353 50.16.117.152 us-east 1c Up Normal 51.78 KB 11.11% 75618303760208547436305468319979289255 50.19.163.142 us-east 1c Up Normal 47.11 KB 33.33% 132332031580364958013534569558607324497 46.51.157.33 eu-west 1c Up Normal 27.37 KB 5.56% 141784319550391026443072753096942836216 [vijay_tcasstest@vijay_tcass-i-a6643ac3 ~]$ echo "show schema;"> schema; cli -f schema Connected to: "vijay_tcass" on 0.0.0.0/7102 create keyspace Keyspace2 with placement_strategy = 'SimpleStrategy' and strategy_options = {replication_factor : 2} and durable_writes = true; use Keyspace2; create keyspace Keyspace3 with placement_strategy = 'NetworkTopologyStrategy' and strategy_options = {eu-west : 1, us-east : 2} and durable_writes = true; > make nodetool ring ownership smarter > ------------------------------------ > > Key: CASSANDRA-3412 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3412 > Project: Cassandra > Issue Type: Improvement > Reporter: Jackson Chung > Assignee: Vijay > Priority: Minor > Attachments: 0001-CASSANDRA-3412.patch > > > just a thought.. the ownership info currently just look at the token and > calculate the % between nodes. It would be nice if it could do more, such as > discriminate nodes of each DC, replica set, etc. > ticket is open for suggestion... -- 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