@Override
public int createHadoopArchive(Configuration conf, Path sourceDir, Path destDir,
String archiveName) throws Exception {
HadoopArchives har = new HadoopArchives(conf);
List<String> args = new ArrayList<String>();
if (conf.get("hive.archive.har.parentdir.settable") == null) {
throw new RuntimeException("hive.archive.har.parentdir.settable is not set");
}