log.warn("Asked for " + dbFolder + " but it doesn't exist!");
throw new DNodeException(EXCEPTION_ORDINARY, "Requested tablespace (" + tablespace
+ ") + version (" + version + ") is not available.");
}
File metadata = getLocalMetadataFile(tablespace, partition, version);
ThriftReader reader = new ThriftReader(metadata);
PartitionMetadata partitionMetadata = (PartitionMetadata) reader
.read(new PartitionMetadata());
reader.close();
dbPoolInCache = loadManagerInEHCache(tablespace, version, partition, dbFolder, partitionMetadata);
}
}
// Query the {@link SQLite4JavaManager} and return
String result = ((EngineManager) dbPoolInCache.getObjectValue())