NullVerifier
/**
* Generate the input data and HDFS distributed cache file based
* on given input trace. Verify the Gridmix emulation of HDFS
* distributed cache file in RoundRobinResolver mode with
* STRESS submission policy.
* @throws Exception - if an error occurs.
*/
@Test public void testGenerateAndEmulationOfHDFSDCFile() throws Exception {
final long inputSizeInMB=1024 * 6;
final String tracePath=getTraceFile("distcache_case9_trace");
Assert.assertNotNull("Trace file has not found.",tracePath);
final String[] runtimeValues={"LOADJOB",RoundRobinUserResolver.class.getName(),"STRESS",inputSizeInMB + "m","file://" + UtilsForGridmix.getProxyUsersFile(conf),tracePath};
final String[] otherArgs={"-D",MRJobConfig.JOB_CANCEL_DELEGATION_TOKEN + "=false","-D",GridMixConfig.GRIDMIX_DISTCACHE_ENABLE + "=true"};
runGridmixAndVerify(runtimeValues,otherArgs,tracePath,GridMixRunMode.DATA_GENERATION_AND_RUN_GRIDMIX.getValue());
}