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.");
}