try
{
CClient client = CClient.getClient(endpoints.iterator().next(), port);
client.set_keyspace(Properties.instance.cassandra.getKeyspace());
// get the nodes in the ring.
List<TokenRange> lt = client.describe_ring(getKeyspaceName());
Set<String> temp = Sets.newHashSet();
for (TokenRange range : lt)
temp.addAll(range.endpoints);
endpoints = temp;
// TODO: filter out the nodes in the other region.