Path outputPath = new Path(DEMUX_OUTPUT_PATH.toString()+File.separator+"/*/*/*.evt");
FileStatus[] demuxOutput = fs.globStatus(outputPath);
log.info("Number of chukwa records files written:"+demuxOutput.length);
assertTrue(demuxOutput.length!=0);
for(FileStatus fname : demuxOutput) {
MetricDataLoader mdl = new MetricDataLoader(conf, fs, fname.getPath().toUri().toString());
mdl.call();
}
} catch (IOException e) {
e.printStackTrace();
fail("Metric Data Loader Error.");
}