// version() to this version() exists for key cluster.xml"
//
// Need to trace through the constructor VoldemortServer(VoldemortConfig
// config, Cluster cluster) to understand how this error is possible,
// and why it only happens intermittently.
VoldemortServer server = new VoldemortServer(config, cluster);
try {
server.start();
} catch(VoldemortException ve) {
if(ve.getCause() instanceof BindException) {
ve.printStackTrace();
throw new BindException(ve.getMessage());
} else {
throw ve;
}
}
ServerTestUtils.waitForServerStart(socketStoreFactory, server.getIdentityNode());
// wait till server starts or throw exception
return server;
}