Configuration conf = mapred.createJobConf();
boolean archivecaching = conf.getBoolean("fs.har.impl.disable.cache", false);
assertTrue(archivecaching);
fs.delete(archivePath, true);
HadoopArchives har = new HadoopArchives(conf);
String[] args = new String[4];
//check for destination not specfied
args[0] = "-archiveName";
args[1] = "foo.har";