// 3. Recreate the regions
recreateTable(regions);
if (cpHost != null) {
cpHost.postTruncateTableHandler(this.tableName);
}
}
private void recreateTable(final List<HRegionInfo> regions) throws IOException {
MasterFileSystem mfs = this.masterServices.getMasterFileSystem();