public void createSnapshot(final String table, final String name) throws BlurException, TException {
try {
Map<String, BlurIndex> indexes = _indexServer.getIndexes(table);
for (Entry<String, BlurIndex> entry : indexes.entrySet()) {
BlurIndex index = entry.getValue();
index.createSnapshot(name);
}
} catch (Exception e) {
LOG.error("Unknown error while trying to getting indexes for table [" + table + "]", e);
if (e instanceof BlurException) {
throw (BlurException) e;