[ https://issues.apache.org/jira/browse/CASSANDRA-2882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135615#comment-13135615 ]
Patricio Echague commented on CASSANDRA-2882: --------------------------------------------- I tested with Two Datacenters now: {code} Address DC Rack Status State Load Owns Token 147817752135733713663542323384546292869 127.0.0.2 DC1 RAC1 Up Normal 6.66 KB 86.81% 125379383436614915362051928744755909976 127.0.0.3 DC2 RAC1 Up Normal 29.11 KB 6.59% 136598567786174314512797126064651101422 127.0.0.1 DC1 RAC1 Up Normal 13.21 KB 6.59% 147817752135733713663542323384546292869 {code} and I still get the same behavior as shown previously (two nodes with empty EndpointDetails and the coordinator with the populated entity but null in the dc field , even though I have two datacenters now). > describe_ring should include datacenter/topology information > ------------------------------------------------------------ > > Key: CASSANDRA-2882 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2882 > Project: Cassandra > Issue Type: Improvement > Components: API, Core > Reporter: Mark Guzman > Assignee: Mark Guzman > Priority: Minor > Labels: lhf > Fix For: 1.0.1 > > Attachments: 0001-CASSANDRA-2882-feedback-changes.patch, > 0001-CASSANDRA-2882-patch-w-o-generated-files.patch, > 0001-CASSANDRA-2882-rebased.patch, > 0001-added-the-host-addr-to-the-EndpointDetail-class.-det.patch, > 0001-adding-an-additional-parameter-to-the-TokenRange-res.patch, > 0001-final-cleaned-up-2882-changes.patch > > > describe_ring is great for getting a list of nodes in the cluster, but it > doesn't provide any information about the network topology which prevents > it's use in a multi-dc setup. It would be nice if we added another list to > the TokenRange object containing the DC information. > Optimally I could have ask any Cassandra node for this information and on the > client-side prefer local nodes but be able to fail to remote nodes without > requiring another lookup. -- 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