HadoopEXIF extends Configured implements Tool { public static void main(String[] args) throws Exception { ToolRunner.run(new HadoopEXIF(), args); }  @Override int run(String[] args); static void main(String[] args);  }
@Test public void testExifGeneration() throws Exception { if (!(new File("/usr/bin/exiftool")).exists()) { System.err.println("Exiftool not found. Skipping test."); return; } File featureSeqFile = folder.newFile("seq-testExifGeneration.features"); featureSeqFile.delete(); HadoopEXIF.main(new String[]{"-D","mapred.child.java.opts=\"-Xmx3000M\"","-ep","/usr/bin/exiftool","-i",imageSeqFile.getAbsolutePath(),"-o",featureSeqFile.getAbsolutePath(),"-om","RDF"}); System.out.println(featureSeqFile); }