try {
// for now, we support only the latest checkpoint
lastCheckpointTxId = fsimage.storage.getMostRecentCheckpointTxId();
images = fsimage.storage.getImages(lastCheckpointTxId);
} finally {
fsn.writeUnlock();
}
// for each image, construct its properties
List<Map<String, String>> imageList = new ArrayList<Map<String, String>>();
for(File f : images.keySet()) {