// If only one clusterUrl return immediately
if (clusterUrls.size() == 1)
return;
AdminClient adminClientLhs = new AdminClient(clusterUrls.get(0),
new AdminClientConfig(),
new ClientConfig());
Cluster clusterLhs = adminClientLhs.getAdminClientCluster();
for (int index = 1; index < clusterUrls.size(); index++) {
AdminClient adminClientRhs = new AdminClient(clusterUrls.get(index),
new AdminClientConfig(),
new ClientConfig());
Cluster clusterRhs = adminClientRhs.getAdminClientCluster();
if (!areTwoClustersEqual(clusterLhs, clusterRhs))
throw new VoldemortException("Cluster " + clusterLhs.getName()
+ "is not the same as " + clusterRhs.getName());
}