r1fs.commitStoreFile(TEST_FAMILY, storeFile);
Path tableDir = FSUtils.getTableDir(archiveDir, tableWithRefsName);
HTableDescriptor htd = new HTableDescriptor(tableWithRefsName);
htd.addFamily(new HColumnDescriptor(TEST_FAMILY));
new FSTableDescriptors(fs, rootDir)
.createTableDescriptorForTableDirectory(tableDir, htd, false);
Path snapshotDir = SnapshotDescriptionUtils.getCompletedSnapshotDir(snapshotName, rootDir);
FileUtil.copy(fs, tableDir, fs, snapshotDir, false, conf);
SnapshotDescriptionUtils.writeSnapshotInfo(sd, snapshotDir, fs);