}
try {
Cluster cluster = getCluster(null);
if (isAdd) {
cluster.addColumnFamily(new ThriftCfDef(familyDefinition));
} else {
cluster.updateColumnFamily(new ThriftCfDef(familyDefinition));
}
} catch (HectorException e) {
throw new CassandraServerManagementException("Error " + (isAdd ? "adding" : "updating ") + " a column family with" +