private void configureForRestoreJob(boolean keepOriginalSplits) {
    conf.setBoolean(RestoreJob.KEEP_ORIGINAL_SPLITS_KEY, keepOriginalSplits);
    conf.set(RestoreJob.BACKUP_ROOT_PATH_KEY, backupRootPath.toString());
  }
Prepare the table for bulkload, most codes copied from {@code createTable} method in
{@code BulkLoadHFilesTool}.
@param conn             connection
@param targetTableName  target table name
@param regionDirList    region directory list
@param htd              table descriptor
@param truncateIfExists truncates table if exists
@throws IOException exception
hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/util/RestoreTool.java