@Test
public void testJar() throws Exception{

	Configuration hadoopConfig = mrCmds.getHadoopConfiguration();
	FsShell shell = new FsShell(hadoopConfig);
	List<String> argv = new ArrayList<String>();
	argv.add("-rmr");
	argv.add("/tmp/wc-input2");
	shell.run(argv.toArray(new String[0]));
	
	argv = new ArrayList<String>();
	argv.add("-put");
	File f = new File("src/test/resources/wordcount-conf.xml");		
	argv.add(f.getAbsolutePath());
	argv.add("/tmp/wc-input2/");
	shell.run(argv.toArray(new String[0]));
	
	argv = new ArrayList<String>();
	argv.add("-rmr");
	argv.add("/tmp/wc-output2");
	shell.run(argv.toArray(new String[0]));
	
	File jarFile = new File(hadoopExampleJarFile);		
	mrCmds.jar(jarFile.getAbsolutePath(), "org.apache.hadoop.examples.WordCount","/tmp/wc-input2 /tmp/wc-output2");
}